home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / shell / ZShell.lha / ZShell27 / ZShell.guide (.txt) < prev    next >
Amigaguide Document  |  1995-08-15  |  130KB  |  2,577 lines

  1. @DATABASE "$VER: ZShell.doc 2.7 (15.08.95)"
  2. @NODE MAIN "ZShell-Documentation 2.7 (15.08.95)"
  3.                    @{b} ________   ___         ___
  4.                    /____   /\ (___' |___| |__ '|    |
  5.                    \___/  / / ,___) |   | |___,|___,|___,
  6.                       /  / /____________    _____   _____
  7.                      /  / / \__________ \  /_____\ /__ _/
  8.                     /  / /__           \ \// /___/_\__ \
  9.                    /  /_____\           \_/  \_________/
  10.                    \________/@{ub}
  11.        _________________________________________________________
  12.      _|                                                         |_
  13.     | |   ZShell v1.30 is Copyright 
  14.  1990,91 by Paul Hayter    | |
  15.     | | Update to v2.7 is Copyright 
  16.  1993-95 by Martin Gierich | |
  17.     | |________________________________________________________ | |
  18.     |__\|                                                     |/__|
  19.      \|                                                         |/
  20.              Titlepage created by Timothy D. Cochran (XMR)
  21.                                                                  
  22. If you have used another version of ZShell, please read @{" Changes " Link Changes}.
  23. @{" For those who never read the whole Documentation" Link For_those}
  24. @{" Introduction, Features and Concepts " Link Introduction}
  25. @{" Starting ZShell " Link Starting}
  26. @{" General Usage " Link General_Usage}
  27. @{" Command Overview " Link Index}
  28. @{" Builtin Commands for Disk Management " Link BUILTIN1}
  29. @{" Builtin Commands for Scripts and Controlling " Link BUILTIN2}
  30. @{" Builtin Commands for Advanced Users " Link BUILTIN3}
  31. @{" Past, Present and Future " Link Past}
  32. @{" Distribution, Copyright and Disclaimer " Link CopyDis}
  33. @{" Credits " Link Credits}
  34. @{" Authors " Link Authors}
  35. @ENDNODE
  36. @NODE General_Usage "General Usage"
  37. @{" History and Command Line Editing " Link History}
  38. @{" Executing Commands " Link Executing}
  39. @{" Using Numbers " Link Numbers}
  40. @{" Wild Cards " Link Wild_Card}
  41. @{" Options " Link Option}
  42. @{" Redirecting Input/Output " Link Redirect}
  43. @{" Anonymous Pipes " Link Pipes}
  44. @{" Filename Completion " Link Filenamecompletion}
  45. @{" Tips and Hints " Link Tips}
  46. @ENDNODE
  47. @NODE Past "Past, Present and Future"
  48. @{" Changes " Link Changes}                               ->Past
  49. @{" Known Problems " link Problems}                        ->Present
  50. @{" Possibilities for Future Improvements " Link Future} ->Future
  51. @ENDNODE
  52. @NODE CopyDis "Copyright & Disclaimer"
  53. Some boring but neccessary things:
  54. @{" Distribution " Link Distribution}
  55. @{" Copyright " Link Copyright}
  56. @{" Disclaimer " Link Disclaimer}
  57. @ENDNODE
  58. @NODE Index "Command Overview"
  59. @{" AddBuffers " Link AddBuffers} drive [number_of_buffers]
  60. @{" Alias " Link Alias} [variable] [definition]
  61. @{" Ask " Link Ask} [question]
  62. @{" Assign " Link Assign} [logical name:] [directory] [ADD|DEFER|PATH|REMOVE]
  63. @{" Avail " Link Avail} [-C]
  64. @{" Border " Link Border} ON|OFF [number]
  65. @{" Break " Link Break} task_description [signalmask|C|D|E|F]
  66. @{" Cd " Link Cd} [destination]
  67. @{" Copy " Link Copy} [-R] [-S] source1 [source2] ... [destination]
  68. @{" Cls " Link Cls}
  69. @{" Comments " Link Comments}
  70. @{" Config " Link Ctrl} CTRLKEYS|MOREKEYS|DOT|HIDE|COLOUR|COPYSIZE|FNCSIZE
  71. @{" Date " Link Date} [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  72. @{" Delete " Link Delete} [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  73. @{" Delete Device " Link Delete2} devicename [name [filesystem]]
  74. @{" Dir " Link Dir} [-R] [-Q] [source1] [source2] ...
  75. @{" DiskChange " Link DiskChange} device
  76. @{" Echo " Link Echo} [string]
  77. @{" Else " Link Else}
  78. @{" EndCLI " Link EndCLI} [-C]
  79. @{" EndIf " Link EndIf}
  80. @{" Eval " Link Eval} expression
  81. @{" Execute " Link Execute} [ZSHELL] source
  82. @{" FailAt " Link FailAt} [failat_level]
  83. @{" Fault " Link Fault} [error_number]
  84. @{" FileNote " Link FileNote} file|directory comment
  85. @{" Flags " Link Flags} [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL|HIDE|PIPE] [ON|OFF]
  86. @{" GetMsg " Link GetMsg} [portname]
  87. @{" Help " Link Help1} [topic]
  88. @{" HType " Link HType} source [offset]
  89. @{" If " Link If} [NOT][WARN][ERROR][FAIL][EXISTS file]
  90. @{" Info " Link Info}
  91. @{" Join " Link Join} [-R] [-S] source1 [source2] ... destination
  92. @{" Kill " Link Kill} device|taskdescription
  93. @{" Lab " Link Lab} label
  94. @{" List " Link List} [-R] [-Q] [source1] [source2] ...
  95. @{" Locate " Link Locate} [-C] [bptr|name] [READ|WRITE]
  96. @{" Lock " Link Lock} device ON|OFF
  97. @{" M " Link M} [start_address] [end_address]
  98. @{" MakeDir " Link MakeDir} directory1 [directory2] ...
  99. @{" MakeIcon " Link MakeIcon} filename [icontype]
  100. @{" MakeLink " Link MakeLink} linkname filename [SOFT]
  101. @{" MemClk " Link MemClk} ON|OFF|ALARM
  102. @{" More " Link More} source [line_count]
  103. @{" Move " Link Move} [-R] [-S] source1 [source2] ... [destination]
  104. @{" NewCLI " Link NewCLI} [-Wnew_window] [-Sstart_script] [-Ccommand] [-N] [-Hhelpfile] [-E]
  105. @{" Path " Link Path} [-C] [path1] [path2] [path3] ...
  106. @{" Prompt " Link Prompt} [string]
  107. @{" Protect " Link Protect} [-R] [-S] [file/dir1] [file/dir2] ... [+|-|=|h|s|p|a|r|w|e|d]
  108. @{" PutMsg " Link PutMsg} port_description [number1|string1] [number2|string2] ...
  109. @{" Quit " Link Quit} [error_code]
  110. @{" Relabel " Link Relabel} drive newname
  111. @{" Rename " Link Rename} source destination
  112. @{" Resident " Link Resident} [command1] [command2] ...
  113. @{" Review " Link Review} [bytesize|-C|-Sfilename]
  114. @{" Run " Link Run} commandline
  115. @{" Search " Link Search} file search_string
  116. @{" SetClock " Link SetClock} LOAD|SAVE
  117. @{" SetDate " Link SetDate} file|directory [date/time]
  118. @{" Show " Link Show} D|I|L|M|P|R|S|T|V
  119. @{" Skip " Link Skip} label
  120. @{" Split " Link Split} [-Q] source dest length [offset]
  121. @{" Stack " Link Stack} [size]
  122. @{" Strings " Link Strings} sourcefile [count]
  123. @{" UnAlias " Link UnAlias} [alias1] [alias2] [alias3] ...
  124. @{" Wait " Link Wait} timeout
  125. @{" TaskPri " Link TaskPri} priority [task_description]
  126. @{" Type " Link Type} source
  127. @ENDNODE
  128. @NODE For_those "For those who never read the whole Documentation"
  129. @{" Start "link Starting} the file called ZShell from Workbench or CLI (SHELL), or even
  130. better: Put the file ZShell in the C: directory and start the file ZSH.
  131. Now press the HELP key. Among lots of other information you see "TYPE HELP
  132. ? ...". Make sure that ZShell.doc is in the @{" current directory " link CD} or in S:
  133. and try that. You will see how to use the @{" ONLINE HELP " Link HELP1}. Try to type
  134. "HELP HISTORY" to see how @{" command line editing " link History} works. @{" Execute " link Execute} the
  135. example startup file "ZStart" or @{" put " link Copy} it into the S: drawer and
  136. @{" have a look " link More} at it.
  137. Please send @{" me " Link Authors 9} your comment; @{" my " Link Authors 9} Internet-Adress is:
  138. uj3w@rz.uni-karlsruhe.de (Martin Gierich).
  139. Click & Play buttons:
  140. Normal start      -> @{" ZShell " System "ZShell -d"}
  141. Showing help      -> @{" ZShell -cHELP " System "ZShell -chelp -d"}
  142. Try ZStart-script -> @{" ZShell -sZStart " System "ZShell -sZStart -d"}
  143. Directory lister  -> @{" ZShell -cLIST " System "ZShell -cLIST -d"}
  144. Things somewhere hidden in the documentation:
  145. * To avoid using an internal command or an alias, you can put a point
  146.   before it, eg. ".list libs:".
  147. * To @{" complete " Link Filenamecompletion} a filename, type in a bit then press TAB.
  148. * If you use "config hide *.info", DIR and Filenamecompletion ignore Icons.
  149. * To start buffering output, use "review 20000"; press Shift+TAB to see it.
  150.   With it you can use ">m" to @{" redirect " Link Redirect} to MORE, a bit like piping to MORE.
  151. * If you have OS3.0+, try "config colour 01111111".
  152. * @{" Aliases " link Alias} work different to them in normal Shell.
  153. * Use "prompt %n.%p>" to get a full path prompt with process number.
  154. * See @{" FLAGS " link Flags} on how to configure some things you need.
  155.   With "flags icon on" you can switch on Iconifying.
  156. * Try "flags debug on" to debug your script-files and your aliases.
  157. * Try to drag Workbench-Icons into the ZShell window
  158. * See @{" Features " link Features} and @{" Tips and Hints " link Tips} for more.
  159. @ENDNODE
  160. @NODE Introduction "Introduction"
  161. ZShell is a small, fast and powerful Shell.
  162. Have a look at @{" Features " Link Features} to see the advantages.
  163. ZShell is tested with Kickstart 1.3 , 2.04 and 3.0 and should
  164. run also with other Kickstarts. There are no special requirements,
  165. but some things can only be used with Kickstart 2.0 or better.
  166. I tried to made usage similar to AmigaDOS. If you did not
  167. understand something, have a look at your AmigaDOS usermanual.
  168.    @{" Concepts " Link Concepts}                        @{" Features " Link Features}
  169. Used Abbreviations:
  170. OS2.0+ means Kickstart and Workbench versions are 2.0 or better
  171. OS1.3- means Kickstart and Workbench versions are 1.3 or older
  172. FNC means filename completion
  173. @ENDNODE
  174. @NODE Concepts "Concepts"
  175. I have heard that there is a Shell called "zsh" on UNICS-systems. ZShell
  176. has nothing to do with it, because it tries to be AmigaDOS compatible,
  177. not just another UNICS shell clone. The compatibility is, of course, not
  178. 100%, if you need that use the original AmigaDOS Shell. So ZShell has some
  179. differences, that give the special feeling of it.
  180. The first main advantage of ZShell is its power/size ratio. In just 32K
  181. there are all often needed commands (like list,copy etc.) and some not
  182. so often needed, which do not increase size much.
  183. The second main advantage is the Filename completion (short: FNC) and the
  184. review buffer. FNC is like those shells on UNICS and can therefore be
  185. controlled fully with the keyboard. No annoying filerequesters pop up,
  186. that make it neccessary to change from keyboard to mouse.
  187. Nevertheless you can use ZShell with (memory hungry and slow) console
  188. handlers like @{" KingCON " link StartingCON}.
  189. Third, I tried to make using ZShell as easy to use as possible. Not like
  190. UNICS shells which have thousands of options you will never keep in mind.
  191. Fourth thing is script file execution. ZShell itself supports only the
  192. basic stuff to execute scripts, because if you need a more complex
  193. construction you can use ARexx or another programming language.
  194. ZShell was never intended to be a substitute for a programming language !
  195. You can use scripts made for AmigaDOS shell without problems, because
  196. the command EXECUTE uses AmigaDOS to execute it.
  197. See @{" Future " link Future} for the future concepts.
  198. @ENDNODE
  199. @NODE Features "Features"
  200. * @{" Freeware " Link Copyright}, no payment required.
  201. * Usage is similar (or better) to the standard AmigaDOS shell.
  202. * About 32K small (pure assembler code, source included).
  203. * Supports the standard housekeeping commands which are builtin,
  204.   so no disk access is necessary.
  205.   eg. list, dir, cd, rename, makedir, delete, copy, path, info, type
  206. * A total of 66 builtin commands.
  207. * @{" Starting " Link Starting} from Workbench (!) or CLI/Shell. No Installation required.
  208. * Fast @{" Filename completion " Link Filenamecompletion} by simply pressing TAB.
  209. * @{" Anonymous pipes " link Pipes}. You can choose between real and pseudo pipes.
  210. * @{" Review buffer " Link Review} to see again what scrolled out of the window.
  211. * Some @{" commands " Link BUILTIN3} and features for programmers.
  212. * @{" Online Help " Link Help1} function and @{" AmigaGuide-Documentation " link Guide.lib} with examples.
  213. * @{" Command line editing " Link history} better than OS2.0/3.0 Shell.
  214. * Support of OS2.0+ and OS3.0+ specific features
  215. * @{" Wild cards " Link wild_card} and @{" recursive " link Option} processing.
  216. * Real @{" RUN " Link Run} and @{" NEWCLI " Link Newcli} command that reenters ZShell quickly.
  217. * @{" DIR " Link DIR} and @{" LIST " Link LIST} both sort (by default) and show filesize.
  218. * Inbuild Amigaguide-/Multi-viewer
  219. * Application-Window/-Icon
  220. * Can open window on own @{" screen " Link ScreenStart}.
  221. * 100% @{" script " Link Execute} compatibility.
  222. * Can @{" create " Link MakeLink} and @{" show " Link List} Hard- and Softlinks.
  223. * Command and Function key @{" aliasing " Link alias}.
  224. * Can @{" iconify " Link FLAGS 20} itself.
  225. * Most things are localized if locale.library is available.
  226. * Colorful output (or fast scrolling with OS3.0+, see @{" CONFIG COLOUR " Link CTRL})
  227. * Simple @{" MORE " Link MORE} type text viewer.
  228. * Makes itself @{" resident " Link resident} for quicker @{" starting " Link starting} and memory saving.
  229. @ENDNODE
  230. @NODE Starting "Starting ZShell"
  231. There are three ways of starting ZShell:
  232.  1. The easiest way:
  233.     Start the file called "ZShell" from Workbench or CLI/Shell.
  234.  2. Put the file called "ZShell" in the C: directory and
  235.     start the file called "ZSH" from Workbench or CLI/Shell.
  236.  3. A bit complicated and only for starting from Workbench:
  237.     Make a startup script (see below) or an empty file with a PROJECT
  238.     icon. Change the default tool to "ZSH" or "ZShell" (better ZSH,
  239.     but then put ZShell in C: ) with the right path. Doubleclicking on
  240.     this project icon will start ZShell and execute this script.
  241.     You can also shift-doubleclick a startup script with ZSH/ZShell.
  242. The first way is recommended for having a quick glance at ZShell,
  243. but if you use ZShell sometimes, the second way is better, because "ZSH"
  244. is about 800 Bytes long and starts the ZShell-resident if possible.
  245. So loading "ZShell" is only necessary the first time you use ZShell
  246. after booting up. Anyway using "ZSH" is fully optional.
  247. Click here to start -> @{" ZShell " System "ZShell -d"}
  248. @{" Starting from CLI/Shell " Link CLIStart}
  249. @{" Starting from Workbench " Link WBStart}
  250. @{" Opening window on own screen " Link ScreenStart}
  251. @{" Starting using console handlers like KingCON " Link StartingCON}
  252. @{" Starting from Hotkey-/Directory-Utilities " Link UtilStart}
  253. @{" How to use CON: " Link Conuse}
  254. @{" Errormessages during starting " Link ErrorStart}
  255. @{" Several notes " Link Notes}
  256. @ENDNODE
  257. @NODE CliStart "Starting from CLI"
  258. If starting from CLI/Shell you can specify the name of a script file
  259. (see @{" EXECUTE " Link EXECUTE}) as an argument which will be executed after starting.
  260. Precede the name with "-s". If there is no name given, ZShell will try
  261. to execute S:ZStart . After "-w" you can specify a window-description.
  262. See @{" NEWCLI " link NewCLI} for more details, it is exactly the same.
  263. eg.     ZSH -sram:hello     {will try to execute ram:hello}
  264.         ZShell              {will try to execute S:ZStart}
  265.         ZSH -sram:hello "-wCON:10/10/90/90/Hi there" {opens this window}
  266. All CLI-Options:
  267.  -Sname (Script): Start script named "name" (default: S:ZStart)
  268.  -Wdesc (Window): Open window with window-description "desc"
  269.  -Ccmd (Command): Start command named "cmd"
  270.  -D     (Detach): Creates its own process (must be last option)
  271.  -N      (Noraw): Switches off the internal command-line-editing
  272.  -Edepth/diplayID/overscan/title (scrEEn): Opens @{" Public Screen " Link ScreenStart}, OS2.0+
  273.  -Hfile   (Help): Determine the file (with path) of the online help (default: S:ZShell.doc)
  274.  -r (not Resident): Testing-stuff (must be first option and lowercase)
  275. @ENDNODE
  276. @NODE WBStart "Starting from Workbench"
  277. If starting from Workbench you can specify the window-description
  278. and the startup script (default S:ZStart , see above) with ToolTypes:
  279. eg.     WINDOW=con:20/50/400/100/Moin
  280.         SCRIPT=ram:hello
  281.         WINDOW=             {this would not open a window}
  282. Make sure that WINDOW and SCRIPT are in capital letters.
  283. (You can edit the ToolTypes by selecting an icon and then choosing
  284. "Information" from the Workbench-Menu.)
  285. All ToolTypes:
  286.  SCRIPT=name : Start script named "name" (default S:ZStart)
  287.  WINDOW=desc : Open window with window-description "desc"
  288.  COMMAND=cmd : Start command named "cmd"
  289.  NORAW=      : Switches off the internal @{" command-line-editing " Link History}
  290.  ICONNAME=name : Specify name of the icon for @{" iconifying " link Flags 20} (OS2.0+)
  291.  XPOS=number : Give the position of the icon (OS2.0+)
  292.  YPOS=number : Give the position of the icon (OS2.0+)
  293.  ICONIFY=    : Start in iconifyed mode (OS2.0+)
  294.  SCREEN=depth/displayID/overscan/title : Opens a @{" Public Screen " Link ScreenStart} (OS2.0+)
  295.  HELPMAN=file: Determine the file (with path) of the online help (default: S:ZShell.doc)
  296. These two are handled by Workbench 2.0+:
  297.  DONOTWAIT   : Use this if you put ZShell in the WBStartup-drawer
  298.                (preferably together with the ICONIFY ToolType)
  299.  TOOLPRI=pri : Sets the @{" priority " Link Taskpri} of the process
  300. @ENDNODE
  301. @NODE ScreenStart "Opening window on own screen"
  302. OS2.0+
  303. You can open a Public Screen using the CLI-Option "-e" or the
  304. Tooltype "SCREEN". Optionally you can pass some arguments:
  305. depth: (default 2) Number of Bitplanes being used
  306. displayID: (default $8000) DisplayID looked up in sys:WBStartup/Mode_Names
  307. overscan: (default 1) Overscan type. 1=text, 2=standard, 3=maximum
  308. title: (default ZShell) Case sensitive name of Public Screen
  309. To get your window open there, you have to add ".../SCREEN ZShell" to your
  310. window-description.
  311. Examples for CLI-Start:
  312. ZShell "-wCON:////Shell/CLOSE/SCREEN ZShell" -e
  313. ZShell "-wCON:1/10/640/390/Shell/CLOSE/SCREEN ZShell" -e1/$8004
  314. ZShell "-wCON:////Shell/CLOSE/SCREEN Super" -e3/$8000/2/Super
  315. Example for Workbench-Start:
  316. SCREEN=3/$8000/1/ZShell-Screen
  317. WINDOW=CON:1/10/640/190/CLOSE/SCREEN ZShell-Screen
  318. @ENDNODE
  319. @NODE UtilStart "Starting from Hotkey-Utilities or Directory-Utilities"
  320. In most cases you have to use a template like @{" starting from CLI " Link CLIStart}
  321. when configuring the utility.
  322. If the utility does not open a window, you have to use the "-w" option.
  323. If the utility seems to hang up after starting ZShell, try the "-d" option.
  324. With "-d" you do not need a "-w" option.
  325. Example:  zshell -wCON:1/10/640/100/ZShell -d
  326. Some special programs:
  327. YAK: Use "zshell -d" as argument of a hotkey-definition.
  328. MachV: EXECMD"zshell -d"
  329. MTool: Define a program with "zshell" as program and "-d" as parameters.
  330. @ENDNODE
  331. @NODE StartingCON "Starting ZShell using KingCON"
  332. KingCON is a Console-Handler with some GUI-Features.
  333. If you do not use KingCON, you can skip this chapter.
  334. Starting from CLI/Shell:
  335.   Use the option -n, and you can optionally use option -w.
  336.   Examples:  ZShell -n
  337.              ZShell -wKCON: -n
  338. Starting from Workbench:
  339.   Use the ToolTypes NORAW and WINDOW=KCON:
  340. The CLI-Option "-n" and the ToolType "NORAW" switch off the internal
  341. command-line-editor, so you could make use of the command-line-
  342. editing facilities of KingCON.
  343. @ENDNODE
  344. @NODE Conuse "How to use CON:"
  345. CON: stands for Console-Handler. This is a program which handles
  346. keypresses and textual outputs on its window similar to a file.
  347. You have to pass several things when opening a CON: window:
  348. CON:leftpos/upperpos/width/height/title
  349. leftpos,upperpos are the position of the left top edge in pixels.
  350.   Both need to be 1 or more.
  351. width,height are the window's dimensions in pixels.
  352. title is a string
  353. With OS2.0+ you can pass some more things and you can drop some things.
  354. So "CON:" alone is valid and opens with the default settings.
  355. To get a close gadget you have to append "/CLOSE", eg.
  356.     CON:1/1/600/100/Great/CLOSE
  357. "/SCREEN screenname" opens on a public screen
  358. "/WAIT" stays till you click the close gadget or press CTRL-\
  359. "/ALT" gives an alternative size with the zoom gadget
  360. ... there are some more but I do not know much of them
  361. @ENDNODE
  362. @NODE ErrorStart "Errors during starting"
  363. If there is an error during starting, a recoverable alert will appear
  364. and show a number. Here is a list what these numbers mean:
  365. Workbench-Start:
  366. 1: No memory for CLI-Structure
  367. 2: CLI-Table 20 limit
  368. 3: No current directory
  369. 4: No icon.library
  370. 5: No icon
  371. OpenWindow:
  372. 10: Already opened
  373. 11: Cannot open output
  374. 12: Not interactive
  375. 13: Cannot open input
  376. Newcli:
  377. 15: Cannot copy CurrentDir
  378. 16: Cannot set up pipe process
  379. Input:
  380. 20: Input failed
  381. 21: Unexpected window closure (harmless)
  382. 22: Forbid or Disable state (bug in external command)
  383. @ENDNODE
  384. @NODE Notes "Several notes"
  385. * You can start ZShell from within the Startup-Sequence. After ending
  386.   ZShell the Startup-Sequence will continue. If you use "ZShell -d" in
  387.   the Startup-Sequence, it will continue and a ZShell will pop up.
  388. * If you would like a scrollbar, try CB (ConBuffer) from
  389.   Aminet/util/shell/conbuffer11.lha . A bit old, but it works.
  390. * You can rename "ZSH" as what you like, but do not rename "ZShell"
  391. * If you start ZShell from the Workbench-Menu "Execute Command",
  392.   you can close the window after ending ZShell with CTRL-\  or
  393.   doubleclick the close-gadget.
  394. * ZShell and ZSH are PURE (see @{" RESIDENT " Link RESIDENT},@{" PROTECT " Link PROTECT}).
  395. @ENDNODE
  396. @NODE History "History and Command Line Editing"
  397. ZShell has a 1024 byte circular history buffer. It works similar
  398. to most other shells, the NEWCON: handler in Workbench V1.3 and
  399. the standard console handler in OS2.0+.
  400. You can change the edit keys with @{" CONFIG CTRLKEYS " Link CTRL}.
  401. These are the default keys:
  402.   UP ARROW        - go back one line in the history buffer
  403.   DOWN ARROW      - go forward one line in the history buffer
  404.   SHIFT UP ARROW  - go to the 1st line in the history buffer if nothing
  405.                     was typed. Otherwise the string left of the cursor
  406.                     will be searched in history buffer (like in OS2.0+)
  407.   SHIFT DOWN ARROW- go to the last line in the history buffer, which
  408.                     holds the last modified line
  409.   LEFT ARROW      - move cursor left
  410.   RIGHT ARROW     - move cursor right
  411.   SHIFT LEFT ARROW- move cursor to left end
  412.   SHIFT RIGHT ARROW move cursor to right end
  413.   CTRL R          - move cursor to start of previous word
  414.   CTRL T          - move cursor to start of next word
  415.   CTRL S          - delete to start of line
  416.   CTRL E          - delete to end of line
  417.   CTRL W          - delete one word right of cursor
  418.   CTRL Q          - delete one word left of cursor
  419.   CTRL X          - delete whole line
  420.   TAB             - see @{" FILENAME COMPLETION " Link FILENAMECOMPLETION} (that is great !)
  421.   SHIFT TAB       - read @{" review-buffer " Link review} with @{" MORE " Link MORE}
  422.   CTRL V          - read history-buffer with @{" MORE " Link MORE}
  423.   CTRL F          - pop up a filerequester (needs asl.library)
  424.   CTRL L          - clear the ZShell window
  425.   CTRL P          - clear the Filename completion buffer. This is useful
  426.                     with CrossDOS, because it does not notice changes.
  427.   RETURN          - put commandline in history-buffer and execute it
  428.   SHIFT RETURN    - put commandline in history-buffer without executing
  429.   ESC (Escape)    - quit ZShell like @{" ENDCLI " Link ENDCLI} (I like this very much !)
  430. Words are delimited by space, point, slash and colon ( ./:).
  431. Again, command line editing is similar to most shells. Backspace,
  432. delete and return do what they are supposed to do.
  433. If you have defined (using @{" ALIAS " Link Alias}) some Function keys,
  434. you can use them, too.
  435. OS2.0+:
  436. You can drop Workbench-Icons into the ZShell's window. Then the name of
  437. the icon will be inserted into the commandline.
  438. When in @{" iconifyed " Link Flags 20} mode, you can drop an icon on that
  439. Application-Icon with the same effect.
  440. @ENDNODE
  441. @NODE Executing "Executing Commands"
  442. Most commands can be aborted by depressing Control-C.
  443. Nearly everything is case independent.
  444. To use a disk command simply type its name after the prompt, the
  445. same way as you would do in other shells. The first part of the input
  446. up to the first space is interpreted as commandname. It is searched
  447. for (in this order) :
  448.  1. in the @{" alias " Link alias} list
  449.  2. in the internal (builtin) command list (see @{" COMMAND OVERVIEW " Link Index})
  450.  3. in the @{" resident " Link resident} command list
  451.  4. in the current directory (see @{" CD " Link CD})
  452.  5. in the @{" command search path " Link path}
  453. and, if it is found, it is executed. The part after the first space
  454. is taken as arguments, also called parameters. The arguments are
  455. separated by spaces. ZShell will allow up to 25 arguments.
  456. If the commandname was found on disk, it will be analyzed:
  457.  1. If the commandname is a directory, the current directory will be
  458.     changed (see @{" CD " Link CD}) to it.
  459.  2. If the script flag is set, it will be @{" executed " Link Execute} eighter
  460.     as ZShell script or as ARexx script.
  461.  3. If the execute flag is set (and it is set in most cases), it will be
  462.     tried to treat it as normal executable command. 
  463.  4. If the command is not executable, it will be shown using
  464.     @{" amigaguide.library " Link Guide.lib} (This is an easy way to view Guides).
  465. eg.     addbuffers df0: 15
  466. "addbuffers" is the command, that will be found as a internal command.
  467. "df0:" is the first argument. "15" is the second argument. The third
  468. argument does not exist.
  469. You can avoid using an @{" alias " Link alias} or an internal (builtin) command or
  470. changing the current directory by typing a point before the
  471. commandname (this is called "force disk").
  472. To abbreviate internal or @{" resident " Link resident} commands put a point behind it.
  473. If you use just a point, the current directory will be set to the
  474. last current directory ("dir back").
  475. To get to the parent directory, you have to use a slash ( / ).
  476. eg.     .addbuffers df0: 20
  477. {This uses the disk command or if available the resident addbuffers}
  478.         ad. df0: 20   {uses the internal addbuffers command}
  479.         .add. df0: 20 {if available this uses the resident addbuffers}
  480.         .             {go back to old current dir}
  481. BEWARE of other matching commands! The first matching will be taken!
  482. "as." can mean ASK or ASSIGN, but ASK will be taken !
  483. There is no abbreviation for disk commands, use @{" Filename  Completion " Link FileNameCompletion}
  484. ( TAB-Key ) instead.
  485. A textual error message will be displayed if an AmigaDOS error occurs.
  486. @ENDNODE
  487. @NODE Guide.lib "amigaguide.library"
  488. For those who do not know:
  489.  amigaguide.library is Commodore's great hypertext system that can
  490.  easily be used to view documentations or to implement online-help into
  491.  own applications.
  492.  It needs Kickstart 1.3 or better.
  493.  You can get it from Fish Disk 920 or from Aminet as text/hyper/aguide34.lha
  494. amigaguide.library V34+ can show AmigaGuide documents and ASCII documents.
  495. V39+ that comes with OS3.0+, can show all kinds of files that are supported
  496. by your datatypes including AmigaGuide and ASCII texts.
  497. So, with OS3.0+, you can enter the name of a picture in ZShell just like
  498. a command to view it.
  499. @ENDNODE
  500. @NODE Numbers "Using Numbers"
  501. Various internal commands need numbers as arguments. Usually you simply
  502. give a decimal number, but you also can use these prefixes:
  503.   + Positive number
  504.   - Negative number
  505.   % Binary number
  506.   $ Hexadecimal number
  507.   & Hexadecimal APTR converted to BPTR
  508.   ! Hexadecimal BPTR converted to APTR
  509.   ^ Filename containing number
  510. See @{" EVAL " link Eval} for more.
  511. @ENDNODE
  512. @NODE Wild_Card "Wild Cards"
  513. ZShell supports wild card file descriptions on some commands
  514. (@{" DIR " Link DIR},@{" LIST " Link LIST},@{" DELETE " Link DELETE},@{" COPY " Link COPY},@{" CONFIG " Link CTRL},@{" JOIN " Link JOIN},@{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT})
  515. OS2.0+ note: The default is to use AmigaDOS wildcard patternmatching.
  516.   It is localized and has not the limitations of the internal matcher.
  517.   But you have to be careful when looking at the examples in this
  518.   documentation, because they are made for the internal matcher.
  519.   (You can even use * instead of #? with the AmigaDOS matcher, because the
  520.   wildstar flag is set by ZShell in the system for all programs. Please
  521.   tell @{" me " link Authors 9} if this makes problems.)
  522.   To switch back to the internal matcher use: @{" FLAGS WILD OFF " link Flags}
  523.   AmigaDOS patternmatcher:
  524.     ?       Matches a single character.
  525.     #       Matches the following expression 0 or more times.
  526.     (ab|cd) Matches any one of the items seperated by '|'.
  527.     ~       Negates the following expression.  It matches all strings
  528.             that do not match the expression (aka ~(foo) matches all
  529.             strings that are not exactly "foo").
  530.     [abc]   Character class: matches any of the characters in the class.
  531.     [~bc]   Character class: matches any of the characters not in the
  532.             class.
  533.     a-z     Character range (only within character classes). 
  534.     %       Matches 0 characters always (useful in "(foo|bar|%)").
  535.     *       Synonym for "#?", not available by default in OS2.0,
  536.             but is switched on by ZShell.
  537.     "Expression" in the above table means either a single character
  538.     (ex: "#?"), or an alternation (ex: "#(ab|cd|ef)"), or a character
  539.     class (ex: "#[a-zA-Z]").
  540. The following refers to the internal patternmatcher:
  541. Wild cards are like those supported on MessyDOS or UNICS systems, and not
  542. the same as the ones on AmigaDOS. So use * instead of #? .
  543. NOTE: You can only effectively put one * character in a wild card.
  544. Character       Meaning
  545.   *         Match zero or more characters.
  546.   ?         Match one character.
  547.   ~         Negates the following wildcard.
  548.  [  ]       Specifies a class of characters to match.
  549.             (One of the characters in the brackets must match)
  550.   |         Separate multiple filenames (can be wildcards)
  551.             (One of the file descriptions separated by | must match)
  552. To get that just try the examples following and try it out with @{" DIR " Link DIR}.
  553. eg.    list *.info      {lists all files ending in .info}
  554.        dir z*.s         {lists all files starting z, ending in .s}
  555.        delete df0:*.info   {deletes all .info files from df0:}
  556.        copy *.s ram:    {copies all .s files to ram:}
  557.        copy 1? df0:     {copies all two char files beginning with 1}
  558.        dir ~*.s         {lists all files NOT ending in .s}
  559.        list ~*.info     {lists all files except for .info files}
  560.        dir *.[co]       {lists files ending in .c or .o}
  561.        list [abcd]*     {lists files beginning with a,b,c or d}
  562.        list c:mount|version {lists the files Mount and Version}
  563.         {OS2.0+ this would be: list c:(mount|version)  }
  564.        list ram:env/a*|*b   {lists all files starting with a or
  565.                              ending with b from RAM:env (environment)}
  566.        copy ~*.info|*.bak   {copies all files NOT ending in .info
  567.                              and NOT ending in .bak}
  568. @ENDNODE
  569. @NODE Option "Options"
  570. As nearly everything, options are also case independent.
  571. The internal commands support only four options, because this is
  572. easier to remember. These options start with a dash (-) followed by
  573. one character.
  574.   1. -C (means Clear) , used by @{" AVAIL " Link AVAIL},@{" ENDCLI " Link ENDCLI},@{" LOCATE " Link LOCATE},@{" PATH " Link PATH},@{" RESIDENT " Link RESIDENT}
  575.   2. -R (means Recursive) , used by @{" COPY " Link COPY},@{" DELETE " Link DELETE},@{" DIR " Link DIR},@{" LIST " Link LIST},@{" JOIN " Link JOIN},
  576.               @{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT}
  577.   3. -Q (means Quick) , used by @{" DIR " Link DIR},@{" JOIN " Link JOIN},@{" LIST " Link LIST},@{" DELETE " Link DELETE}
  578.   4. -S (means Sort)  , used by @{" COPY " Link COPY},@{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT}
  579. Instead of -R you could also use ALL , if @{" FLAGS ALL ON " Link Flags 49} is set.
  580. For some special cases there are longer options used: "delete bla force"
  581. FORCE is here an option. You can abbreviate this by a point
  582. (see @{" CONFIG DOT " link CTRL}), so "delete bla f." is the same.
  583. To avoid a filename, that is equal to an option, to be treated as an
  584. option you have to surround it with quotes:
  585.       copy "-r" ram:     {to copy the file -r to ram:}
  586.       delete "force"     {to delete the file named force}
  587. @ENDNODE
  588. @NODE Redirect "Redirecting Input/Output"
  589. The standard redirection operators are supported for all internal
  590. commands, as well as disk based and resident programs. (Redirection only
  591. affects those programs which use the dos.library's Input() and Output()
  592. functions.)
  593.     >filename   redirect std output
  594.     <filename   redirect std input
  595.     >>filename  append redirect output (tacks output onto the end of file)
  596.     <>filename  redirect input and output
  597.     >M          view output with @{" MORE " link MORE} after the command has ended,
  598.                 you need a @{" review-buffer " link REVIEW} for that which is big enough,
  599.                 otherwise some of the output will be swallowed.
  600.     <W >W <>W   opens a window and inputs/outputs there.
  601.     <* >* <>*   redirection to current window (rarely used)
  602.     If you do not give a filename, input/output will be redirected to NIL:
  603. Redirection can be placed before, between and after arguments and has
  604. the same effect for all three cases.
  605. Note that @{" pipes " link Pipes} are some kind of redirection.
  606. eg.    dir >ram:directory df0:c
  607.        type zshell.doc <raw:0/0/100/100/input >raw:0/0/640/100/output
  608.        sortfile things >>df0:things.log
  609.        list >m df0:             {view output with more}
  610.        copy > df0: ram:         {redirects to NIL: , no output !}
  611.        type S:Startup-sequence >W    {outputs on own window}
  612. @ENDNODE
  613. @NODE Pipes "Anonymous Pipes"
  614. ZShell supports anonymous pipes with background tasks like those in UNICS
  615. and with temporary files like those in Amiga-csh.
  616. @{" General things about pipes " link GeneralPipes}   What are pipes ?
  617. @{" Real pipes " link RealPipes}                   The real thing.
  618. @{" Pseudo pipes " link PseudoPipes}                 Are better in some cases.
  619. @{" Filters " link Filters}                      Something to use pipes with.
  620. @{" Notes " link PipeNotes}                        What else is interesting.
  621. @ENDNODE
  622. @NODE GeneralPipes "General things about Pipes"
  623. Have you ever tried to view the output of a command with an external
  624. text viewer ? Then you probably have tried something like:
  625.     List >T:listing -r dh0: ; MuchMore T:listing ; delete T:listing
  626. (You do not need spaces before and after semicolons)
  627. Using anonymous pipes you simply have to type:
  628.     List -r dh0: | MuchMore
  629. The "|" character is the pipe symbol. This is why they are called
  630. ANONYMOUS pipes: You do not have to specify a filename.
  631. You can leave out the space after "|", but you need to keep the one
  632. before the pipe symbol.
  633. In the above example MuchMore stands RIGHT to the pipe symbol. This means
  634. that it gets its input from the output of the command LEFT to the pipe
  635. symbol. You can simulate this by "MuchMore <T:listing" instead of
  636. "MuchMore T:listing".
  637. Not every command supports reading its input from an input redirection,
  638. so not every command can stand RIGHT to | . All commands can be placed
  639. LEFT to | , but with those having no output it does not make sense.
  640. You can use multiple | in one line like:
  641.     List -r dh0: |UUencode |MuchMore
  642. The List command will pass its output to UUencode, this will modify the
  643. data and outputs it to MuchMore which will display the modified output
  644. of the List command.
  645. Commands, like UUencode, which read data from input, modify it and
  646. output the modified data are called @{" filters " link Filters}. They are usually used
  647. RIGHT to or BETWEEN pipe symbols.
  648. Using pipes and filters it is easy to process streams of data like:
  649.     filter1 <infile | filter2 | filter3 | filter4 >outfile
  650. You cannot put multiple commands between pipe symbols, like
  651.     List |UUencode;MuchMore |MuchMore
  652. This will be interpreted as "List |UUencode" and "MuchMore |MuchMore".
  653. @ENDNODE
  654. @NODE RealPipes "Real Pipes"
  655. Real pipes are switched on by default. You can switch them on by using
  656. @{" FLAGS PIPE ON " Link Flags}.
  657. All commands right to pipe symbols are launched as background tasks.
  658. This allows asynchronous data processing.
  659. Real pipes need the PIPE: device to be mounted:
  660.   Make sure you have pipe-handler (OS1.3) or queue-handler (OS2.0+) in L:,
  661.   check DEVS:Mountlist or DEVS:DOSdrivers (OS2.1+) for an entry called
  662.   PIPE: then type "mount pipe:".
  663. If you type in:
  664.     List | MuchMore
  665. in the current shell the command "List >PIPE:ZShellXX" will be started
  666. (XX is a unique number) and a background shell will be launched similar
  667. to the newcli command, which will execute the command
  668. "MuchMore <PIPE:ZShellXX" (XX is the same number as above).
  669. As long as the List command is executed, both shells will be in system
  670. and you can check this out using "show t" from a third shell.
  671. Output of the List command appears directly on the MuchMore screen, you
  672. do not have to wait till the List command finishes.
  673. After the List command has been finished, it waits for the launched shell
  674. to end, just to not confuse you with a prompt. If you do not want to wait,
  675. you can press CTRL-E and you can go on using the first shell. Nevertheless
  676. you cannot start a new pipe until the old one ends.
  677. A drawback however is, that not all commands are able to handle input
  678. out of the PIPE: device, in fact NONE of the internal commands can.
  679. This means that internal commands could not be on the right side of a
  680. pipe symbol if real pipes are used.
  681. You can use MuchMore (by Fridtjof Siebert & Christian Stiens), More
  682. from the Workbench Disk (make sure it is in your path, then use ".more"
  683. to access it) and some other text readers and most @{" filters " link Filters}.
  684. @ENDNODE
  685. @NODE PseudoPipes "Pseudo Pipes"
  686. To distinguish this from real pipes, I call them pseudo pipes.
  687. You can switch them on by using @{" FLAGS PIPE OFF " Link Flags}.
  688. Pseudo pipes use temporary files in T:, so they need T: that is usually
  689. assigned in the Startup-Sequence to a directory in Ram Disk.
  690. The commandline
  691.      List | More
  692. (List and More are internal commands) can be simulated with
  693.      List >T:ZShellXXXX ; More <T:ZShellXXXX ; Delete T:ZShellXXXX
  694. (XXXX is a unique number, being the same here). Note that the temporary
  695. file has to be deleted after use. In fact ZShell does not convert the
  696. commandline, because this would cause trouble in case of failure.
  697. First the List command will be started and its output is written to
  698. the file in T:, what means that this needs memory. After the List command
  699. has been finished, More will be started. This is synchronous processing,
  700. you have to wait for the first command to complete. The file in T: cannot
  701. be deleted before the More command ends, so data stays in memory twice.
  702. Internal commands that can be right to the pipe symbol:
  703. @{" MORE " link More}              @{" EXECUTE ZSHELL " link Execute}
  704. @{" TYPE " link Type}              @{" HTYPE " link HType}
  705. @{" STRINGS " link Strings}           @{" SEARCH " link Search}
  706. Additional the same commands that can be used right to real pipes can
  707. also be used right to pseudo pipes.
  708. Comparing pseudo pipes to real pipes:
  709. + Internal commands can be right to the pipe symbol
  710. + Easier to understand (and, for me, to implement :-)
  711. - Synchronous, so you have to wait
  712. - Needs much memory when handling large quantities of data
  713.   (a background shell needs only about 10KBytes)
  714. Examples:
  715.    dir |more          {view output with MORE}
  716.    info |search dh    {shows the lines for DH0:, DH1: etc.}
  717.    resident |search -3 |more   {shows all internal residents using MORE}
  718.    list df0: |htype   {maybe this looks more interesting}
  719. @ENDNODE
  720. @NODE Filters "Filters"
  721. These filters are internal commands and can therefore only be used with
  722. pseudo pipes: @{" STRINGS " link Strings}, @{" SEARCH " link Search}, @{" HTYPE " link HType}, @{" TYPE " link Type}
  723. (TYPE is a no effect filter, because data will not be changed.)
  724. A fine collection of filters that support even real pipes is available
  725. on Aminet in util/cli/0filters.lha (by Bernd "0" Noll).
  726. @ENDNODE
  727. @NODE PipeNotes "Notes about pipes"
  728. * You can use @{" aliases " link Alias} together with pipes; with these:
  729.     alias mm MuchMore
  730.     alias mdir %1 dir $1 \|MuchMore
  731.   (using pseudo pipes you can use More instead of MuchMore) you can use:
  732.     list |mm
  733.     mdir df0:
  734. * To see things happening, try out @{" FLAGS DEBUG ON " link Flags}
  735. * To see all tasks in system, type @{" SHOW T " link Show}
  736. * To see even more things, you can use SnoopDOS (by Eddy Carroll)
  737. @ENDNODE
  738. @NODE Filenamecompletion "Filename Completion"
  739. Filename completion (=FNC) makes typing long filenames and directorynames
  740. easier. It does not matter if you want to type it as command or as
  741. argument. Just type some beginning characters of the desired name
  742. (it also works if you press TAB without typing anything before)
  743. and then press TAB . If there is more than one possibility that
  744. match, it will only be completed as far as all possibilities match
  745. and there are two ways to go further:
  746. 1. Type in the next character(s) then again press TAB .
  747. 2. Press TAB again: The first match will show up. Press TAB again and
  748.    and again to walk through all matches (I call it cycling).
  749.    To enter a directory shown (indicated by the trailing slash) press
  750.    cursor-right. After you type any other key than TAB, it gets out of
  751.    this cycling mode (cursor-right is the only key that will be ignored).
  752.    To get back the commandline before cycling you can press
  753.    shift-cursor-down.
  754. If a filename was fully matched, a space after it will be inserted. If
  755. a directoryname was fully matched, a slash (/) will be inserted after.
  756. If no partial match is found, the screen blinks (display beep).
  757. To find out the advantage of FNC it is best to play around with it.
  758. It is really a very convenient and powerful thing !
  759. Maybe you do not want *.info files to be completed. This will avoid
  760. some trouble. Use "config hide *.info" for that or see @{" CONFIG HIDE " Link CTRL}.
  761. If you do not want to see all files that match, you can use
  762. @{" FLAGS MATCH OFF " Link Flags}.
  763. The directory last used by FNC is remembered, so it can used comfortably
  764. on slow floppy disks, too. See @{" CONFIG FNCSIZE " link ctrl} for more.
  765. For example a directory contains:
  766.   MegaEditExample
  767.   MegaEditExample.info
  768.   MegaViewer
  769.   MoreMegaFiles               {directory}
  770. If you want to change the current directory to MoreMegaFiles you type:
  771.     mo
  772. then press the TAB key. You will see the full name with a slash at the
  773. end. Just press RETURN and you changed it.
  774. To delete MegaViewer you type:
  775.     delete me
  776. and press TAB . You will see "Mega". Now type the V key and
  777. press TAB again. You see "delete MegaViewer ". Press RETURN and
  778. it will be gone.
  779. You want to start MegaEditExample. Type:
  780.     me
  781. and press TAB. Then type E and press TAB. There is no space after the
  782. name. This is because MegaEditExample.info also matches.
  783. Start it by pressing RETURN.
  784. @ENDNODE
  785. @NODE Tips "Tips and Hints"
  786. * Use @{" MORE " Link MORE} instead of @{" TYPE " Link TYPE}.
  787. * Useful @{" aliases " Link alias}:
  788.         alias arexx %1 %2 putmsg $1 0 0 0 0 0 "$2"
  789.   So 'arexx showdvi "tofront"' is the same as the example in @{" PUTMSG " Link PUTMSG}.
  790.   If you want some shortcuts like MessyDOS:
  791.         alias md makedir
  792.         alias ren rename
  793.         alias del delete
  794.         alias dc diskchange
  795.   These are only needed for OS1.3-:
  796.         alias setenv %1 %2 echo >ENV:$1 $2
  797.         alias getenv %1 type ENV:$1
  798.         alias unsetenv %1 delete ENV:$1
  799. * From Workbench assigns are most likely done by clicking an icon:
  800.   For example if you have the assigns below in the script
  801.         failat 10
  802.         assign TEX: dh0:text/pastex
  803.         assign MF: dh0:text/pastex/metafont
  804.         putmsg
  805.   you need to get a PROJECT ICON for that. Now define the default
  806.   tool as ZSH (or ZShell) and a tooltype containing
  807.         WINDOW=
  808.   (case sensitive). That's all. Failat 10 breaks the script if
  809.   an error occurs. Putmsg flashes the screen to indicate that
  810.   everything was successful. No window will be opened.
  811. * CTRL-R and CTRL-T are for moving the cursor one word backwards/forward.
  812.   Probably you would rather like to use Alt-Cursor-Left and
  813.   Alt-Cursor-Right instead. This is not possible to do in ZShell, but
  814.   you can modify your Keymap according to it, because usually Alt-Cursor
  815.   is unused. Get yourself a keymap editor and set it to CTRL-R and to
  816.   CTRL-T (same as hexadecimal 12 and 14).
  817. * A script counting down from 10 to 0 (a bit complicated and slow) :
  818.     failat 11 ; setenv helpenv 11
  819.     lab backtohere
  820.     copy > ENV:helpenv ENV:counter
  821.     eval >ENV:helpenv ^ENV:counter 1 -
  822.     echo "Current number: " ; eval ^ENV:helpenv
  823.     if not error
  824.        skip backtohere
  825.     endif
  826. @ENDNODE
  827. @NODE BUILTIN1 "Builtin Commands for Disk Management"
  828. Following there are descriptions of the standard DOS commands which are
  829. builtin in ZShell (and therefore need not be loaded from disk).
  830. Square brackets [] mean that the argument enclosed in is optional.
  831. A vertical bar | separates multiple possibilities, choose only one.
  832. @{" AddBuffers " Link AddBuffers} drive [number_of_buffers]
  833. @{" Assign " Link Assign} [logical name:] [directory] [ADD|DEFER|PATH|REMOVE]
  834. @{" Cd " Link Cd} [destination]
  835. @{" Copy " Link Copy} [-R] [-S] source1 [source2] ... [destination]
  836. @{" Delete " Link Delete} [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  837. @{" Delete Device " Link Delete2} devicename [name [filesystem]]
  838. @{" Dir " Link Dir} [-R] [-Q] [source1] [source2] ...
  839. @{" FileNote " Link FileNote} file|directory comment
  840. @{" HType " Link HType} source [offset]
  841. @{" Info " Link Info}
  842. @{" Join " Link Join} [-R] [-S] source1 [source2] ... destination
  843. @{" List " Link List} [-R] [-Q] [source1] [source2] ...
  844. @{" Lock " Link Lock} device ON|OFF
  845. @{" MakeDir " Link MakeDir} directory1 [directory2] ...
  846. @{" MakeIcon " Link MakeIcon} filename [icontype]
  847. @{" MakeLink " Link MakeLink} linkname filename [SOFT]
  848. @{" More " Link More} source [line_count]
  849. @{" Move " Link Move} [-R] [-S] source1 [source2] ... [destination]
  850. @{" Protect " Link Protect} [-R] [-S] [file/dir1] [file/dir2] ... [+|-|=|h|s|p|a|r|w|e|d]
  851. @{" Relabel " Link Relabel} drive newname
  852. @{" Rename " Link Rename} source destination
  853. @{" Resident " Link Resident} [command1] [command2] ...
  854. @{" Search " Link Search} file search_string
  855. @{" SetDate " Link SetDate} file|directory [date/time]
  856. @{" Split " Link Split} [-Q] source dest length [offset]
  857. @{" Type " Link Type} source
  858. @ENDNODE
  859. @NODE AddBuffers "AddBuffers"
  860. ADDBUFFERS drive number_of_buffers
  861. * ADDBUFFERS increases disk access speed on the specified drive by
  862.   adding a number of sector cache buffers. Each additional buffer
  863.   reduces memory by about 560 bytes. Generally, 25-30 buffers per
  864.   floppy drive is optimal.
  865. eg.     addbuffers df0: 25
  866.         addbuffers df1: 30
  867. @ENDNODE
  868. @NODE Assign "Assign"
  869. ASSIGN [logical name:] [directory] [ADD|REMOVE|DEFER|PATH]
  870. * ASSIGN will assign a logical device name to a disk directory.
  871. eg.     assign z: df1:zshell_source
  872.   Now if you do a DIR Z: you will get a directory of df1:zshell_source.
  873.   Similarly, the default device names can be reassigned.
  874. eg.     assign libs: df1:libs
  875. * Typing ASSIGN with no parameters, will list the current device
  876.   assignments.
  877. eg.     assign
  878. * Only for OS2.0+:
  879.  "ASSIGN name: REMOVE" or "ASSIGN name: dir REMOVE" removes that assign
  880.  "ASSIGN name: dir ADD" assigns multiple dirs to name:
  881.  "ASSIGN name: pathname DEFER" will become a normal assign when accessed
  882.   the first time. So you can assign to a path that does not exist yet.
  883.  "ASSIGN name: pathname PATH" assigns to a path. Similar to DEFER, but
  884.   will not converted into a normal assign. If you have "assign bla: df0:
  885.   path" and do "list bla:", you will get the directory of the disk
  886.   inserted NOW (!) in df0:.
  887. @ENDNODE
  888. @NODE Cd "Cd"
  889. CD [destination]
  890. * Changes the current directory to "destination". If no parameter
  891.   is given, the current directory's name is shown. It is easier to
  892.   change the directory by simply typing its name (without CD).
  893. eg.     cd ram:
  894.         ram:t               {same as "cd ram:t"}
  895. @ENDNODE
  896. @NODE Copy "Copy"
  897. COPY [-R] [-S] source1 [source2] ... [destination]
  898. * COPY copies all source files or files in the source directories to the
  899.   destination directory. If the destination directory does not exist, it
  900.   will be created. If no destination is given (in this case you can specify
  901.   only one source file/dir ofcourse), the current directory will be taken.
  902. * You can use @{" wild cards " link Wild_card} to specify files.
  903. * The filedate, filecomment and protection-bits are copied with it.
  904. * With @{" Option -R " link Option} given, subdirectories and the files and
  905.   directories in there are also copied (recursive copying).
  906.   If you have the @{" ALL FLAG " link Flags} set, you can use ALL as last
  907.   argument instead of -R.
  908. * With @{" Option -S " link Option} given, it sorts. But who needs that ?
  909. Note 1: Copying will be done in 50KBytes blocks. This should be a good
  910.   value. You can change it with @{" CONFIG COPYSIZE " link ctrl}.
  911. Note 2: You can use @{" option " link option} ALL instead of -R .
  912. eg.     copy c:dir df1:c
  913.         copy dir list type cd df1:c
  914.         copy -r df0:devs df1:devs
  915.         copy -r source:*.s ram:
  916.         copy df0: df1:          {only copy the files in df0: to df1:}
  917. * You can also copy a file to a file. This is like copying to a dir and
  918.   then renaming. Date, comment and bits are not copyied with it.
  919. eg      copy df0:fred ram:wilma
  920.   With that you can print a file etc.
  921. eg.     copy file PRT:
  922.         copy CON: barney
  923. @ENDNODE
  924. @NODE Delete "Delete"
  925. DELETE [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  926. * Deletes one or more files or directories ("source1","source2",...).
  927. * "source" can be a @{" wild card " link Wild_card} file description.
  928. * If you specify the -r @{" option " Link option} when deleting a directory,
  929.   then all subdirectories are recursively deleted also. Otherwise (if the -r
  930.   option is not given) only the files in the specified directory are deleted.
  931. * To be safe, delete requests you to really delete a file. You can answer
  932.   with "Y" (yes) or RETURN if you want this file to be deleted
  933.        "N" (no) if you do not want this file to be deleted
  934.        "A" (all) if you do not want to be asked anymore
  935.        "Q" (quit) if you want to abort deleting.
  936.   To avoid asking, use option -q , but be careful !
  937. * Ever got the problem with thousands of delete-protected files ?
  938.   Solution is simple: Use FORCE as last option.
  939. NOTE 1: "delete RAM:BLA" (BLA is a directory) tries
  940.   to delete the directory "BLA", not the files in there !
  941.   Use "delete RAM:BLA/*" (deletes only the files in there)
  942.   or "delete -r RAM:BLA" (deletes all files and directories inside,
  943.   then tries to delete BLA itself) for that !
  944. NOTE 2: You can use @{" option " link option} ALL instead of -R .
  945. WARNING 1: You can hardly get back what you have deleted !
  946.   So be careful, especially when using the -r option !
  947.   (Try DISKSALV for getting lost files back, DO NOT USE DISCDOCTOR!)
  948. WARNING 2: To delete (hard- or soft-)links you have to use @{" wild cards " link wild_card} !
  949.   So instead of "delete c:linkname" use with OS1.3- "delete c:linkname|"
  950.   and with OS2.0+ "delete c:(linkname)".
  951. eg.     delete fred wilma barney betty dino
  952.         delete df0:devs df1:c df1:data ram:
  953.         delete menu/* force
  954.         delete -r devs:
  955.         delete -r df1:  {better use "delete device df1:"}
  956. @ENDNODE
  957. @NODE Delete2 "Delete Device"
  958. DELETE DEVICE devicename [name [filesystem]]
  959. OS2.0+ only !
  960. * Has the same effect as "FORMAT DRIVE device NAME name QUICK NOICONS".
  961.   devicename is something like DF0: etc., but better not DH0: !
  962.   The name and the filesystem of the disk will be kept the same, except
  963.   you specify new ones. See @{" INFO " link Info} on how filesystems look like.
  964. eg.: You have an Oldfilesystem- (OFS) disk and want to get a Fastfilesystem-
  965.     (FFS) disk out of it. No need to format the whole disk ! Use
  966.         delete device df0: empty ffs
  967. @ENDNODE
  968. @NODE Dir "Dir"
  969. DIR [-Q] [-R] [source1] [source2] ...
  970. * Lists the directory of the "source" to the screen. Hitting space
  971.   will pause the listing and backspace will continue it. Files are
  972.   shown with their size in bytes. DIR lists the current directory
  973.   if no parameter is given. If "source" is a filename, then only
  974.   that file is listed. If the @{" option " Link option} "-q" is not given, the filenames
  975.   will be sorted alphabetically. With the @{" option " Link option} "-R" given
  976.   it will @{" list " Link List} recursive.
  977. * All files/dirs with the H-bit (see @{" PROTECT " Link PROTECT}) set, will not be shown.
  978.   All files that are ignored by @{" FILENAMECOMPLETION " Link FILENAMECOMPLETION} are also hidden.
  979. * If it is a link, it shows H (for hardlinks) or S (for softlinks) after
  980.   the filesize. See @{" MAKELINK " link MakeLink}.
  981. eg.     dir df0:
  982.         dir -q devs:printers/hp*
  983. @ENDNODE
  984. @NODE FileNote "FileNote"
  985. FILENOTE file|directory comment
  986. * FILENOTE creates or changes a comment of the file or directory.
  987.   This comment can be up to 116 characters long and can be displayed
  988.   using the @{" LIST " Link LIST} command. It is useful if the filename does not say
  989.   what for this file is. Add a comment to this file and you will
  990.   forever know what this file does.
  991. eg.     filenote devs:mountlist "This is used by the mount command"
  992. @ENDNODE
  993. @NODE HType "HType"
  994. HTYPE source [offset]
  995. * HTYPE outputs a hex listing of the file specified. Output is the
  996.   same as the M command. SPACE pauses the listing, BACKSPACE
  997.   gets it going again, and CTRL-C will abort the listing.
  998. * "HTYPE source offset" starts to display the file after "offset" bytes.
  999. eg.     htype c:list
  1000. @ENDNODE
  1001. @NODE Info "Info"
  1002. * Lists lots of information about all available volumes (like disks).
  1003.   These columns mean:
  1004.   NAME: Name of the device containing the volume
  1005.   UNIT: Unitnumber, not very interesting
  1006.   SYS:  Filesystem, can be one of:
  1007.         OFS : Oldfilesystem (old fashioned and slow)
  1008.         FFS : Fastfilesystem (needs OS2.0+)
  1009.         INO/INF : International OFS/FFS
  1010.         DCO/DCF : Directory Cache OFS/FFS (needs OS3.0+)
  1011.         MSD : CrossDOS Filesystem (MessyDOS)
  1012.         ??? : Unknown
  1013.   SIZE: Maximum useable size of the Volume in KBytes (1024 Bytes)
  1014.   FREE: Free/useable size in KBytes
  1015.   FULL: Ratio between used size and maximum size
  1016.   BLOCK: Size of a single block in Bytes
  1017.   STATUS: Says if it is possible to write to that volume
  1018.   ERR:  Number of soft errors, I only saw 0 yet
  1019.   VOLUME: Name of the volume (name of the disk).
  1020. * Note: It would not make sense to show the free size in Bytes,
  1021.   because space can only be allocated in whole blocks and one
  1022.   block is at least 488 Bytes large.
  1023. eg.     info
  1024. @ENDNODE
  1025. @NODE Join "Join"
  1026. JOIN [-R] [-S] [sourcefile1] [sourcefile2] ... destfile
  1027. * JOIN concatenates one or more files to form a new file (destfile).
  1028. * @{" wild cards " link Wild_card} are supported.
  1029. * See  @{" COPY " link Copy} for more.
  1030. eg.     join fred.doc roy.doc dog.doc mydocs.doc
  1031. @ENDNODE
  1032. @NODE List "List"
  1033. LIST [-R] [-Q] [source1] [source2] ...
  1034. * Lists the directory of the "source" to the screen. Hitting space
  1035.   will pause the listing and backspace will continue it.
  1036. * LIST acts similar to @{" DIR " Link DIR}, but outputs more information:
  1037.   - Hidden files will be shown
  1038.   - Shows the date and time of the last change. See @{" DATE " link Date}.
  1039.   - Shows the protection-bits. See @{" PROTECT " Link PROTECT}.
  1040.   - If available, the comment will be shown. See @{" FILENOTE " Link FILENOTE}.
  1041.   - If it is a link, it shows where it is linked to. See @{" MAKELINK " link MakeLink}.
  1042.     (Note:softlinks are resolved by ReadLink(), hardlinks by simply Lock())
  1043. * LIST supports recursive listing. That means the contents of all
  1044.   subdirectories are shown. To use it, specify the @{" -r option " Link option}.
  1045. * With the @{" -q option " Link option} given, it does not sort nor print
  1046.   comments and links.
  1047. eg.     list
  1048.         list sys:system
  1049.         list -q df0:
  1050.         list -r -q *.info    {show all INFO-files in the current and
  1051.                               in the sub-directories}
  1052.         list -r ram:~*.info  {show all except *.info files in RAM:}
  1053. @ENDNODE
  1054. @NODE Lock "Lock"
  1055. LOCK device ON|OFF
  1056. * "LOCK device ON" locks the write-access to a device
  1057. eg.     lock df0: on
  1058.   will make it impossible to write to or change something on the
  1059.   disk inserted in DF0:
  1060. * "LOCK device OFF" makes write-access to a device possible again.
  1061. eg.     lock dh0: on
  1062.         lock dh0: off
  1063. @ENDNODE
  1064. @NODE MakeDir "MakeDir"
  1065. MAKEDIR [directory1] [directory2] ...
  1066. * Creates one or more directories of the names specified.
  1067. eg.     makedir temp
  1068.         makedir c l s libs devs fonts
  1069.         makedir devs/printers ram:c
  1070. @ENDNODE
  1071. @NODE MakeIcon "MakeIcon"
  1072. MAKEICON filename [icontype]
  1073. OS2.0+ only !
  1074. * Makeicon creates a default icon for the file "filename". "icontype" can
  1075.   be one of: DISK, DRAWER, TOOL, PROJECT, GARBAGE, DEVICE, KICK or APPICON
  1076.   "filename" is without appending .info.
  1077.   Note that DEVICE and APPICON will not be available on most systems.
  1078. * OS3.0+ only: Makeicon without icontype pops up the information-window
  1079.   of Workbench.
  1080. eg.     makeicon barney tool
  1081.         makeicon sys:libs drawer  {"makeicon libs: drawer" will not work}
  1082.         makeicon sys:system/format
  1083. @ENDNODE
  1084. @NODE MakeLink "MakeLink"
  1085. MAKELINK linkname filename [SOFT]
  1086. OS2.0+ only !
  1087. * Makelink creates a Hardlink or Softlink to the file or directory
  1088.   "filename". "linkname" must be a filename, that does not exist yet.
  1089.   You can use links like the file/directory itself, but they need nearly
  1090.   no additional diskspace. In most cases you would use Hardlinks.
  1091. * If you delete a file a Hardlink is linked to, the Hardlink will become
  1092.   the file itself. Hardlinks cannnot work accross devices, use Softlinks
  1093.   for that. (Hardlinks are resolved by the filesystem.)
  1094. * Softlinks are links to a path, that is checked every time when accessed,
  1095.   so a link to DF0: depends on the disk inserted in DF0: .
  1096.   (Softlinks are resolved by AmigaDOS)
  1097.   I wonder why Softlinks are not supported by the commands in the C:
  1098.   directory even of Workbench 3.0 ? A bit old fashioned !
  1099. !WARNING: To delete (hard- or soft-)links you have to use @{" wild cards " link wild_card} !
  1100. !  So instead of "delete c:linkname" use with OS1.3- "delete c:linkname|"
  1101. !  and with OS2.0+ "delete c:(linkname)".
  1102. eg.     makelink muchmore ppmore
  1103.         makelink sys:commands c:
  1104.         makelink readme df0:readme soft  {so with "more readme" you will
  1105.     see the readme-file on the disk currently inserted into DF0: }
  1106. @ENDNODE
  1107. @NODE More "More"
  1108. MORE source [line_count]
  1109. * MORE acts as a simple (ANSI) text file viewer. By default, it will
  1110.   show some lines of a text file, then wait for some user input.
  1111. eg.     more readme
  1112.  *After pressing "H" you get some Help information.
  1113.  *To move around in the text, you can use the CURSOR-KEYS:
  1114.     UP        : Go one line up
  1115.     DOWN      : Go one line down
  1116.     LEFT      : Go one page up
  1117.     RIGHT     : Go one page down
  1118.     SHIFT-UP  : Go to the top of the text
  1119.     SHIFT-DOWN: Go to the bottom of the text
  1120.   You can also use the keys 1,2,3,7,8 and 9 of your numeric keypad.
  1121.   SPACE does the same as SHIFT-DOWN, BACKSPACE the same as SHIFT-UP.
  1122.  *The key "S" will prompt you what to Search for. If you just press
  1123.   RETURN, then the last item will be searched for. Searching begins
  1124.   at the second top line shown. If the item is found, the line, it
  1125.   is in, is displayed as the first line.
  1126.  *The key "N" searches for Next occurence of the search string
  1127.  *The key "W" Writes the text to a file. If you enter PRT: as filename,
  1128.   the text is send to the printer. Press just RETURN to cancel.
  1129.  *Press "J" to Jump to a position you can give in %.
  1130.  *Press "R" after you have Resized the window (or to Redraw the window
  1131.   for another reason).
  1132.  *Press "Q" or "ESC" to quit MORE.
  1133.  *Typing any other key will be ignored.
  1134. All keys except the numeric keypad, SPACE, BACKSPACE and ESC can be
  1135. redefined using @{" CONFIG MOREKEYS " link ctrl}.
  1136. * Specifying the optional line count will allow you to show more or
  1137.   less than the default number of lines, that will fit exactly on the
  1138.   window. Useful when using @{" FLAGS CUT OFF " Link Flags}.
  1139. eg.     more contents 12
  1140.         more super.doc 25
  1141. @ENDNODE
  1142. @NODE Move "Move"
  1143. MOVE [-R] [-S] source1 [source2] ... [destination]
  1144. * This is very similar to the @{" copy-command " link copy}, but all files/directories
  1145.   copyied will be deleted afterwards. If an error happens, the source will
  1146.   not be deleted. If it was OK, you will see "... copyied"
  1147. * If source and destination are on the same device it uses @{" rename " link rename}
  1148.   instead. This is quicker and needs less disk accesses. Then you will
  1149.   see "...moved".
  1150. * Note the difference between "move dir" and "move dir/*".
  1151. eg.     move ram:a ram:b
  1152.         move -r df0:* df1:
  1153.         move c:mount devs:
  1154. @ENDNODE
  1155. @NODE Protect "Protect"
  1156. PROTECT [-R] [-S] filename1 [filename2] ... [+|-|=|h|s|p|a|r|w|e|d] [+|...
  1157. * Allows you to alter/see the protection bits associated with a file
  1158.   or a directory. To see it, you can also use @{" LIST " link List}.
  1159.   You can use @{" wild cards " link Wild_card} to process multiple files.
  1160. * See @{" COPY " link Copy}  how to use -r and -s.
  1161. * PROTECT filename +bits_to_set -bits_to_clear
  1162.   Sets all bits_to_set and resets all bits_to_clear.
  1163.   You can give one + or one - or both or both not.
  1164. * PROTECT filename =bits_to_be
  1165.   Sets all bits_to_be and resets all other bits
  1166. eg.     protect game +hp -rwd
  1167.         protect monitor =srwe
  1168.         protect -r df0:* -d
  1169. Bits:   "h"     hidden  V1.3
  1170.         "s"     script  V1.3
  1171.         "p"     pure    V1.3
  1172.         "a"     archive V1.3 -> is reset when file is changed
  1173.         "r"     readable
  1174.         "w"     writable
  1175.         "e"     executable   -> will be checked before executing
  1176.         "d"     deletable
  1177. @ENDNODE
  1178. @NODE Relabel "Relabel"
  1179. RELABEL drive newname
  1180. * RELABEL renames the disk specified with the newname given.
  1181. eg.     relabel Empty: MY_DISK
  1182.         relabel df0: FISHMONGER
  1183. @ENDNODE
  1184. @NODE Rename "Rename"
  1185. RENAME source destination
  1186. * Renames the file or directory of name "source" to that of
  1187.   "destination". You can use this to move files on a disk.
  1188. eg.     rename df0:c/list df0:ls        {moves and renames}
  1189.         rename ed Editor                {just renames}
  1190. @ENDNODE
  1191. @NODE Resident "Resident"
  1192. RESIDENT [command1] [command2] ...
  1193. * RESIDENT allows you load commands into memory, such that they
  1194.   will execute immediately, rather than be loaded from disk all the
  1195.   time. The benefit of RESIDENT over saving commands on the RAM:
  1196.   disk is that only one copy of the command is in memory all the
  1197.   time. RAM: based commands will use up twice as much memory when
  1198.   the command is being executed.
  1199. * The limitation of RESIDENT is that only certain commands will
  1200.   work. Generally, all commands which have their PURE bit (see
  1201.   @{" PROTECT " Link PROTECT}) set can be made RESIDENTABLE. However, RESIDENT
  1202.   does not check whether the PURE bit is set before loading, and
  1203.   hence you can try out commands to see if they work. They'll
  1204.   always work the first time. Its only when executing the 2nd
  1205.   time that the Amiga will likely crash.
  1206.   Note: Crunched programs will most likely not work.
  1207. * Typing RESIDENT with no parameters will show the current list
  1208.   of resident commands:
  1209.     ADRESS is useful for programmers
  1210.     USECOUNT says how many times it is used right now
  1211.              ROM internal residents have negative values
  1212.     NAME means the name  (hard to guess :)
  1213. * Typing one or more command names after RESIDENT will make those
  1214.   commands resident. ZShell will search the command search @{" path " Link path}
  1215.   to try and find them.
  1216. eg.     resident c/list c/cd c/date c/avail
  1217.         resident ed
  1218. @ENDNODE
  1219. @NODE Search "Search"
  1220. SEARCH file search_string
  1221. * SEARCH searches for the search_string in the file. The file can
  1222.   be a binary (eg. executable) or a text. Each occurance
  1223.   will be printed on the window with highlighted search_string.
  1224.   If the file is a text, the whole line will be printed.
  1225.   If it is a binary file, it will be printed from the occurance
  1226.   to the next NULL or LF.
  1227. * Searching is case independent (of course!).
  1228. * To search for a string at the beginning of a line (textfile only)
  1229.   put a point (.) before the search_string.
  1230. eg.     search zshell.doc "binary (eg."
  1231.         search s:startup-sequence .assign
  1232.           {show all assigns, but not "resident assign"}
  1233.         search c:mount $ver:    {show version number and date,
  1234.                             should work with all newer executables}
  1235. @ENDNODE
  1236. @NODE SetDate "SetDate"
  1237. SETDATE file|directory [date/time]
  1238. * SETDATE changes the date-of-last-change (DOLC) of a file or directory.
  1239.   The DOLC can be shown by simply listing this file with @{" LIST " Link LIST}.
  1240. * SETDATE with no date/time given sets the DOLC to the systemtime
  1241.   (see @{" DATE " Link DATE},@{" SETCLOCK " Link SETCLOCK}).
  1242. * If you want to set the DOLC to a special date you have to specify
  1243.   the date or time or both in a format described at @{" DATE " Link DATE}.
  1244. eg.     setdate ram:newthings
  1245.         setdate devs:mountlist 21.8.71      {very old}
  1246.         setdate murks 18:24:12 12-24-96     {future}
  1247. @ENDNODE
  1248. @NODE Split "Split"
  1249. SPLIT [-Q] source dest length [offset]
  1250. * SPLIT is the opposite of @{" JOIN " link Join}.
  1251.   It splits up a (large) source file into several smaller pieces which
  1252.   get their name from "dest" and an automatically appended two digit
  1253.   number. The asking between the single files allow to change floppy
  1254.   disks and makes it possible to split a large file directly on multiple
  1255.   floppy disks. See @{" delete " link delete} for more about that.
  1256.   (The source file does not need to fit into memory.)
  1257. eg.     split aminet.index df0:index 750000
  1258.   {assuming that aminet.index is 2MB big, this creates df0:index01
  1259.   df0:index02 and df0:index03 }
  1260. other egs.  split -q bigfile small 10000    {does not ask}
  1261.             split bigfile small 10000 5000  {skip the first 5000 bytes}
  1262. @ENDNODE
  1263. @NODE Type "Type"
  1264. TYPE source
  1265. * Prints to the screen the ASCII/ANSI text file specified as "source".
  1266.   Hitting any key will pause the listing. Backspace will restart it.
  1267.   CTRL-C will abort the listing.
  1268. * Use @{" MORE " Link MORE} instead of TYPE, if possible.
  1269. eg.     type readme
  1270. @ENDNODE
  1271. @NODE BUILTIN2 "Builtin Commands for Scripts and Controlling"
  1272. Following there are descriptions of the other commands which are
  1273. builtin in ZShell (and therefore need not be loaded from disk).
  1274. Square brackets [] mean that the argument enclosed in is optional.
  1275. A vertical bar | separates multiple possibilities, choose only one.
  1276. @{" Alias " Link Alias} [variable] [definition]
  1277. @{" Ask " Link Ask} [question]
  1278. @{" Avail " Link Avail} [-C]
  1279. @{" Border " Link Border} ON|OFF [number]
  1280. @{" Cls " Link Cls}
  1281. @{" Date " Link Date} [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  1282. @{" Echo " Link Echo} [string]
  1283. @{" Else " Link Else}
  1284. @{" EndCLI " Link EndCLI} [-C]
  1285. @{" EndIf " Link EndIf}
  1286. @{" Eval " Link Eval} expression
  1287. @{" Execute " Link Execute} [ZSHELL] source
  1288. @{" FailAt " Link FailAt} [failat_level]
  1289. @{" Fault " Link Fault} [error_number]
  1290. @{" Help " Link Help1} [topic]
  1291. @{" If " Link If} [NOT][WARN][ERROR][FAIL][EXISTS file]
  1292. @{" Lab " Link Lab} label
  1293. @{" MemClk " Link MemClk} ON|OFF|ALARM
  1294. @{" NewCLI " Link NewCLI} [-Wnew_window] [-Sstart_script] [-Ccommand] [-N] [-Hhelpfile] [-E]
  1295. @{" Path " Link Path} [-C] [path1] [path2] [path3] ...
  1296. @{" Prompt " Link Prompt} [string]
  1297. @{" Quit " Link Quit} [error_code]
  1298. @{" Review " Link Review} [bytesize|-C|-Sfilename]
  1299. @{" Run " Link Run} commandline
  1300. @{" SetClock " Link SetClock} LOAD|SAVE
  1301. @{" Skip " Link Skip} label
  1302. @{" Stack " Link Stack} [size]
  1303. @{" UnAlias " Link UnAlias} [alias1] [alias2] [alias3] ...
  1304. @{" Wait " Link Wait} timeout
  1305. @{" Comments " Link Comments}
  1306. @ENDNODE
  1307. @NODE Alias "Alias"
  1308. ALIAS [variable] [definition]
  1309. * ALIAS assigns a variable name to a definition. The variable name
  1310.   can be up to 15 characters long, and the definition can be up to
  1311.   about 360 characters long.
  1312. * Typing ALIAS with no parameters at all, will generate a list of all
  1313.   current alias definitions.
  1314.   eg.   alias
  1315. * Aliasing of Function Keys
  1316.   eg.   alias f1 ed df0:s/startup-sequence^M
  1317.   This example assigns the unshifted F1 key to "ed df0:s/startup-sequence"
  1318.   with following return. Note that the ^M characters puts an auto
  1319.   carriage return in the definition.
  1320.   eg.   alias F10 cd df0:^M
  1321.   This sets shifted F10 to "cd df0:<CR>".
  1322.   You can use quotes to make it look better:
  1323.         alias f2 "cd df1:^M"
  1324.         alias f4 "genim2 "
  1325.         alias F9 "scribble df0:text/"
  1326.   If you want to use a semicolon in the alias, you need to use quotes:
  1327.         alias f1 "a68k z.a;blink z.o to z^M"
  1328.   or leave away the quotes and use a backslash before the semicolon:
  1329.         alias f1 a68k z.a\;blink z.o to z^M
  1330. * Aliasing of commands
  1331.   eg.   alias mv rename
  1332.   This allows an alternate name for rename. i.e. mv.
  1333.   So you could type
  1334.         mv oldname newname      {to rename oldname to newname}
  1335.   eg.   alias as a68k
  1336.         alias pp powerpacker
  1337.         alias go "a68k zsh.s;blink zsh.o to zsh"
  1338.         alias cped copy df0:c/ed
  1339.   You would use this last alias, if you need to copy a particular
  1340.   file a lot. So, to copy c/ed to ram: use:
  1341.         cped ram:
  1342. * You can also pass external parameters to an alias.
  1343.   eg.   alias al "%1 a68k $1.s;blink $1.o to $1"
  1344.   Typing
  1345.         al test
  1346.   will assemble test.s using a68k, then blink test.o to become test.
  1347. You can specify upto eight parameters to pass to a command alias.
  1348. At the start of the alias definition, specify the parameters to pass
  1349. with the variables %0 thru %7. These need not be in sequence. The
  1350. first %n will be assigned to the first parameter, the 2nd %n to
  1351. the 2nd parameter etc.
  1352. Insert the corresponding variables $0 thru $7 at the points in the
  1353. alias definition where that parameter is to appear.
  1354. eg.     alias disp %1 %2 %3 echo "$3 $2 $1"      {is the same as: }
  1355.         alias disp "%1 %2 %3 echo "$3 $2 $1""    {note the quotes}
  1356.         alias cram %0 %1 %2 %3 copy $0 $1 $2 $3 ram:
  1357.         alias go %5 %1 %6 %2 echo "1st-$5 2nd-$1 3rd-$6 4th-$2"
  1358. * Command aliases can be nested to nearly unlimited levels.
  1359.   eg.   alias clear echo ^L\;alias cdir "%1 clear;cd $1;dir"
  1360. * An important point about aliases, is that you can redefine the
  1361.   existing internal command names.
  1362.   eg.   alias help "type help_screen"
  1363.   This would make it so that pressing HELP or typing H E L P would
  1364.   not generate the standard help command list, but would type the
  1365.   file called  help_screen to the screen. Similarly
  1366.   eg.   alias copy c:copy       {replace copy by disk-based copy}
  1367.         alias info c:dfree
  1368.         alias list .list        {replace list by disk-based list}
  1369. * See UNALIAS for how to remove alias definitions.
  1370. @ENDNODE
  1371. @NODE Ask "Ask"
  1372. ASK [question]
  1373. * ASK prompts the user with a question requiring a Yes or No
  1374.   answer. If the first letter of the users response is "Y", ASK
  1375.   returns code WARN. Responding "E" returns ERROR, "F" returns
  1376.   FAIL. Any other letter will result in return code OK.
  1377.   The question can include ASCII characters as well as control
  1378.   codes as per the @{" ECHO " Link ECHO} command.
  1379. eg.     ask "Do you want commands copied to ram? "
  1380.         if warn
  1381.                copy c: ram:
  1382.         endif
  1383. Note: You can @{" redirect " Link redirect} the ANSWER to a file by redirecting the OUTPUT.
  1384. eg.     ask >ENV:CallIt        {The answer is written to CallIt}
  1385. @ENDNODE
  1386. @NODE Avail "Avail"
  1387. AVAIL [-C]
  1388. * AVAIL shows the available memory as:
  1389.   1.Total chip memory free,
  1390.   2.Total fast memory free,
  1391.   3.Total memory free.
  1392. * With @{" option " Link option} "-c" given, it tries to free unused memory
  1393.   (remove unused libraries, devices and the help manual)
  1394. eg.     avail
  1395.         avail -c
  1396. @ENDNODE
  1397. @NODE Border "Border"
  1398. BORDER ON|OFF [number]
  1399. * Switches the border of the window on or off. If the border is off
  1400.   there will fit some more characters in a line; this can be useful
  1401.   when viewing texts with @{" MORE " Link MORE}.
  1402. * If you run OS1.3-, you should do a @{" CLS " Link CLS} or "echo ^L" after
  1403.   using BORDER OFF.
  1404. * If you specify a number after ON or OFF, the window is resized as
  1405.   large as possible. The number means the wanted distance of the
  1406.   window top to the screen top in pixels. By specifying a negative
  1407.   value the window will just not hide the screens menu bar.
  1408. eg.     border off
  1409.         border on 0         {fills full screen}
  1410.         border off -1       {does not hide the menu bar}
  1411.         border on 10;cls    {with OS1.3-}
  1412. @ENDNODE
  1413. @NODE Cls "Cls"
  1414. * CLS clears the window.
  1415.   It also resets the consolehandler, so if you see lots of funny
  1416.   characters on the window, try CLS.
  1417. * You can do the same by using "echo ^[c".
  1418. * CTRL L only clears the window (same as "echo ^L").
  1419. eg.     cls
  1420. @ENDNODE
  1421. @NODE Date "Date"
  1422. DATE [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  1423. * DATE without arguments shows the actual date and time (systemtime).
  1424. * You can specify one or two arguments to set date or time or both.
  1425.   The time format must be in HOUR:MINUTE:SECOND . Do not forget the
  1426.   colon (:) between. Give only one or two digit numbers.
  1427.   There exists two formats for setting the date. First is
  1428.   DAY.MONTH.YEAR . Second is MONTH-DAY-YEAR . Use only one or two
  1429.   digit numbers.
  1430. eg.     date
  1431.         date 14:15:00         {quarter past two PM}
  1432.         date 12.5.94          {12th of May in 1994}
  1433.         date 3-30-88 8:12:45  {30th of March in 1988 in the morning}
  1434. @ENDNODE
  1435. @NODE Echo "Echo"
  1436. ECHO [string]
  1437. * Prints the "string" to the screen. If you want spaces in the
  1438.   string, make sure the whole string is enclosed in quotes. If you
  1439.   want to print special control characters (eg. ctrl-L clear screen)
  1440.   then prefix the control letter with a ^ character. If you want to
  1441.   print double quotes, then use the \ character before the qoutes.
  1442.   If you want to print some special characters like the CSI ($9B),
  1443.   you can put a (hexa-)decimal number after the ^ character; you can
  1444.   separate it from the next character by a point (.) . Do not forget
  1445.   the ^J at the end of a line.
  1446. eg.     echo hello^J
  1447.         echo "Hello world !"
  1448.         echo Hello world !
  1449.         echo "^Lthe screen was just cleared^J"
  1450.         echo "^Lline 1^Jline 2^Jline 3^J"
  1451.         echo "these are double quotes ->\"^J"
  1452.         echo ^*33mColor^*32mful^J
  1453.         echo ^*4mUnderlined^*0mNormal^J
  1454. * Some common control codes are:
  1455.   ^7    ^G      bell (makes a DisplayBeep)
  1456.   ^10   ^J      linefeed.
  1457.   ^12   ^L      clear screen.
  1458.   ^13   ^M      carriage return.
  1459.   ^24   ^X      clear line.
  1460.   ^27   ^[      escape.
  1461.   ^$9b  ^*      CSI (command sequence introducer).
  1462. @ENDNODE
  1463. @NODE Else "Else"
  1464. * ELSE marks the middle of an @{" IF " Link IF} statement. All statements
  1465.   following it, and before the @{" ENDIF " Link ENDIF} statement will be executed
  1466.   only if the IF condition is FALSE. See @{" IF " Link IF} for usage.
  1467. @ENDNODE
  1468. @NODE EndCLI "EndCLI"
  1469. ENDCLI [-C]
  1470. * Exits you from ZShell back to the AmigaDOS CLI prompt or Workbench.
  1471. * If the @{" option " Link option} "-c" was specified, it will clear ZShell as a
  1472.   @{" resident " Link resident}: only in low memory situations needed.
  1473. * Instead of using ENDCLI you can simply press the ESC key or click
  1474.   on the close gadget, if available.
  1475. eg.   endcli
  1476.       endcli -c
  1477. @ENDNODE
  1478. @NODE EndIf "EndIf"
  1479. ENDIF
  1480. * ENDIF marks the end of an IF statement. See @{" IF " Link IF} for usage.
  1481. @ENDNODE
  1482. @NODE Eval "Eval"
  1483. EVAL expression
  1484. OVERVIEW
  1485. ========
  1486.   Operators:
  1487.   + Add
  1488.   - Subtract
  1489.   * Multiply
  1490.   / Divide
  1491.   & Logical and
  1492.   ! Logical or
  1493.   = Poke into memory
  1494.   ? Peek out of memory
  1495.   Prefixes:
  1496.   + Positive number
  1497.   - Negative number
  1498.   % Binary number
  1499.   $ Hexadecimal number
  1500.   & Hexadecimal APTR converted to BPTR
  1501.   ! Hexadecimal BPTR converted to APTR
  1502.   ^ Filename containing number
  1503. * EVAL evaluates the "expression" as a reverse polish expression,
  1504.   and displays the answer in decimal and hex notation. Reverse
  1505.   Polish Notation (RPN) is used in Forth and in Hewlett Packard
  1506.   calculators (I have a HP48GX which has really a great functionality,
  1507.   but unfortunately is a one-way product: If something is defective, you
  1508.   have to throw it away in most cases).  It is based on how arithmetic
  1509.   is actually done at the lowest possible level. RPN allows calculating
  1510.   complex expressions without using brackets.
  1511. eg.     eval 4 5 +
  1512.   This gives the answer 9. When a number is found, it is "pushed"
  1513.   onto the arithmetic stack. The + always adds the last two numbers
  1514.   on the stack.
  1515. eg.     eval 7 2 3 + -
  1516.   This gives the answer 2. It is the same as (7 - (2 + 3)). See,
  1517.   7 is first pushed onto the stack, followed by 2, then 3. The +
  1518.   adds together the 2 and 3 and leaves the result 5 on the stack.
  1519.   Which means that the number 7 followed by 5 are left on the
  1520.   stack. The - subtracts the last entry (5) on the stack from the
  1521.   one before it (7), leaving the result 2.
  1522. eg.     12 * (3 + 9)                    > eval 12 3 9 + *
  1523.         (15 - 4) * (6 + 18)             > eval 15 4 - 6 18 + *
  1524.         (6 * ((87 + 13) / (2 * 25)))    > eval 6 87 13 + 2 25 * / *
  1525. * EVAL only performs 32 bit integer arithmetic.
  1526.   Negative numbers are prefixed with - .(hexadecimal they are
  1527.   shown as a 31 bit integer with bit 32 set, as usual)
  1528.   Prefixing positive numbers with + is optional.
  1529. eg.     eval +5 -3 +    {results in 2  hex:$00000002}
  1530.         eval -5 3 +     {results in -2 hex:$fffffffe}
  1531. * EVAL supports decimal, hexadecimal and binary  numbers.
  1532.   If you prefix the number with $, the number is hex
  1533.   If you prefix the number with %, it is binary.
  1534. Programmers: For BPTR-APTR conversion you can use & to specify
  1535.   a hexadecimal APTR when asked for a BPTR and vice versa with !.
  1536. eg.     eval $c00000 $a0 16 * +
  1537. * EVAL can also be used to perform base conversions (to dec or hex)
  1538. eg.     eval $ca
  1539.         eval %10110001
  1540.         eval 45
  1541.         eval &5a8
  1542. *  The & allows logical AND'ing. And ! allows logical OR'ing.
  1543.   The ? is similar to PEEK in BASIC.
  1544.   Conversely, = is similar to POKE in BASIC
  1545. eg.     eval $80 $21 $08 ! ! $aa &
  1546.         eval $67 %11001011 &
  1547.         eval $c00000 ?
  1548.   This prints out the long word in memory locations $c00000 - $c00003.
  1549.         eval $aa55aa55aa $40000 =
  1550.   This pokes the long word $aa55aa55aa into locations $40000 thru $40003
  1551.   and prints out what was in before.
  1552. * For environment handling you can specify the value of an
  1553.   environment variable with ^ followed by the name.
  1554.   To store the result in a variable, @{" redirect " Link redirect} the output.
  1555. eg.     eval >ENV:aa ^ENV:bb 1 +
  1556.   This adds 1 to the value in ENV:bb and stores the result in ENV:aa
  1557. * If the result was 0 an error (fail-level 10) will be returned.
  1558.   If it was negative, a warn (5) returns. (Not when redirecting output)
  1559. @ENDNODE
  1560. @NODE Execute "Execute"
  1561. EXECUTE [ZSHELL] source
  1562. * "EXECUTE source" executes the AmigaDOS script file of name "source"
  1563.   using an AmigaDOS shell, so no compatibility problems should occur.
  1564.   However in AmigaDOS scripts you cannot use ZShell-internal commands.
  1565. * To execute a ZShell script you have to set the @{" S-protection flag " Link Protect}
  1566.   and then you can execute it treating like a normal @{" command " Link Executing}
  1567.   or you have to use "EXECUTE ZSHELL scriptname".
  1568.   All ZShell commands, as well as commands from disk are valid within a
  1569.   ZShell script file.
  1570. * You can break scripts by pressing CTRL-D.
  1571. eg.   execute install_hard_disk
  1572.       execute zshell s:zstart
  1573. @ENDNODE
  1574. @NODE FailAt "FailAt"
  1575. FAILAT [failat_level]
  1576. * FAILAT sets the error code level at which scripts (and multiple
  1577.   commands on one line) will be aborted. The default level is 10.
  1578.   Most commands return 10 as an error, (20 for serious errors)
  1579.   while compilers returning Warning type errors will return 5.
  1580.   Hence, the default of 10 will allow Warnings to occur without
  1581.   the script (or line) being aborted. If a command returned an error
  1582.   code higher than the failat level, it will be printed out on the
  1583.   window.
  1584. eg.     failat 20       {sets failat level to 20}
  1585. * If you do not specify a failat level, the current setting is
  1586.   shown.
  1587. eg.     failat
  1588. @ENDNODE
  1589. @NODE Fault "Fault"
  1590. FAULT [error_number]
  1591. * FAULT displays a textual error message of the given DOS-error-number
  1592. eg.     fault 103
  1593.   (says something like "no free store", go and buy some extra memory :-)
  1594. @ENDNODE
  1595. @NODE Help1 "Help"
  1596. HELP [topic]
  1597. * HELP shows the lines of this manual corresponding to the topic.
  1598.   To see all topics available, type "HELP CONTENTS" . Make sure that
  1599.   the manual "ZShell.doc" is in the current directory or in S: !
  1600.   For some help about a command you can also type "commandname ?" .
  1601.   Type only "?" to read the manual with @{" MORE " Link MORE}.
  1602. Note: Instead of typing the topic you can type just some starting
  1603.       characters.
  1604. Note: The manual is only loaded once and will stay in memory till
  1605.       you use @{" AVAIL -C " Link Avail} or @{" ENDCLI -C " Link EndCLI}
  1606. eg.    help contents       {"help cont" will do the same}
  1607.        help copy
  1608.        makedir ?
  1609.        ?
  1610. * HELP without a topic lists the names of all available ZShell
  1611.   commands to the screen. This does not need the manual.
  1612.   HELP can also be invoked by hitting the HELP key.
  1613. eg.   help
  1614. @ENDNODE
  1615. @NODE If "If"
  1616. IF [NOT][WARN][ERROR][FAIL][EXISTS file]
  1617. * The IF command allows conditional execution of statements
  1618.   following it.
  1619. * If the condition specified is true, then execution continues
  1620.   after the IF statement until either an @{" ENDIF " Link ENDIF} or @{" ELSE " Link ELSE} statement
  1621.   is encountered. If it is an ELSE statement, then all statements
  1622.   between the ELSE and the closing ENDIF are skipped.
  1623. * If the condition is false, then all statements after the IF and
  1624.   before either an @{" ENDIF " Link ENDIF} or @{" ELSE " Link ELSE} statement are skipped. If an ELSE
  1625.   is encountered, then execution continues for all statements after
  1626.   the ELSE and before the closing ENDIF.
  1627. * IF can examine the state of the return code from the last command
  1628.   execute with WARN, ERROR, and FAIL tests. You can test for the
  1629.   non existence of such a state by including the optional NOT
  1630.   parameter.
  1631. eg.     IF WARN
  1632.            echo "last command returned warnings"
  1633.         ELSE
  1634.            echo "last command did not return warnings"
  1635.         ENDIF
  1636.         IF NOT FAIL
  1637.            echo "last command did not fail"
  1638.         ENDIF
  1639. * IF can also test for the existence of a file or directory.
  1640. eg.     IF EXISTS :system/format
  1641.            echo "this disk has a format command"
  1642.            echo "you can look yourself. I'm not joking"
  1643.         ENDIF
  1644.         IF NOT EXISTS ram:ed
  1645.            copy c:ed ram:
  1646.         ENDIF
  1647. @ENDNODE
  1648. @NODE Lab "Lab"
  1649. LAB label
  1650. * LAB specifies a destination (label) for the @{" SKIP " Link SKIP} command.
  1651. @ENDNODE
  1652. @NODE MemClk "MemClk"
  1653. MEMCLK ON|OFF|ALARM
  1654. * MEMCLK is for using a clock shown in the border of the actual
  1655.   window. The current total free and chip free memory are also
  1656.   shown. It can do a DisplayBeep (short flash on all screens) at a
  1657.   specified time. The DisplayBeep can be converted into a sound
  1658.   by using a PD-utility for that or using Workbench 2.1+ .
  1659. * Programmers: There will be only one "MemClock"-Task, even if you
  1660.   run MEMCLK on many windows  -> memory and CPU saving.
  1661. * MEMCLK ON switches the clock on or does nothing if it already
  1662.   exist.
  1663. * MEMCLK OFF switches the clock off or does nothing if it does not
  1664.   exist.
  1665. * MEMCLK ALARM shows the alarm time. If you type a time (see @{" DATE " Link DATE})
  1666.   after ALARM, you set the alarm time. (You cannot set an alarm date
  1667.   or multiple times.) ( MEMCLK A is the same as MEMCLK ALARM )
  1668. eg.     memclk on
  1669.         memclk off
  1670.         memclk alarm
  1671.         memclk a 21:34:07
  1672. * The clock can also be used on non-ZShell windows, but MAKE SURE
  1673.   that the clock is switched OFF BEFORE the window is CLOSED,
  1674.   otherwise you will see THE GURU (or an ALERT with OS2.0+)
  1675.   For example, to get a clock on the Workbench, type in ZShell
  1676.         wait 5;memclk on
  1677.   and press RETURN. Now you have 5 seconds to click on the Workbench
  1678.   screen. For removing use "wait 5;memclk off" .
  1679. @ENDNODE
  1680. @NODE NewCLI "NewCLI"
  1681. NEWCLI [-Wnew_window] [-Sstart_script] [-Ccommand] [-N] [-Hhelpfile] [-E]
  1682. * NEWCLI without arguments starts a new ZShell process.
  1683.   Things like paths, aliases and history buffer (!) will be copied to
  1684.   the new ZShell. The input/output window is created with the default
  1685.   specification. The startup script will be S:ZStart.
  1686. * "NEWCLI -Wnew_window" is used for opening a window with different
  1687.   specifications than the default. If you specify just "-W",
  1688.   there will be no window and output will be send to NIL: ; if there
  1689.   is input necessary, the ZShell process will just end (for
  1690.   example at a end of a script).
  1691. * "NEWCLI -Sstart_script" is used if the name of the startup script
  1692.   should be different from S:ZStart. If you specify just "-S", no
  1693.   script will executed.
  1694. * "NEWCLI -Ccommand" @{" executes " Link Executing} the command when starting. No script
  1695.   will be executed.
  1696. * See @{" Start from CLI " link CLIStart} for more information about the options.
  1697. eg.     newcli
  1698.         newcli -wcon:30/30/400/50/Shell
  1699.         newcli -wcon:50/20/500/100/Hello -ss:shell-startup
  1700.         newcli -sram:doassigns -w
  1701.         newcli "-wcon:30/30/400/50/Great Shell" "-cecho Welcome !"
  1702. @ENDNODE
  1703. @NODE Path "Path"
  1704. PATH [-C] [path1] [path2] [path3] ...
  1705. * PATH defines the command search path used by ZShell when searching
  1706.   for disk based commands (see @{" EXECUTING COMMANDS " Link EXECUTING}) .
  1707.   If you give the "-c" @{" option " Link option}, the old search path will be cleared
  1708.   and the new search path consist only of the given paths.
  1709. eg.     path -c c: ram:c df0: df1:
  1710.   This example will make it so that if you type a command which is
  1711.   not internal in ZShell, the @{" resident " Link resident} list will be searched for it,
  1712.   then the current directory, then the c: directory, then the ram:c
  1713.   directory, then df0:, and finally df1:
  1714. * By omitting the -c @{" option " Link option}, you can add a number of paths onto the
  1715.   existing command search path.
  1716. eg.     path df2:c
  1717.         path df1:bin df1:myprogs
  1718. * If, however, you type path with no parameters, the current search
  1719.   path will be displayed.
  1720. * When starting ZShell the paths of Workbench (if available) will be
  1721.   copied.
  1722. Note: It is a crazy thing that AmigaDOS shell always has C: as last path.
  1723.   In my startup-sequence you can find something like:
  1724.   "path ram: c: sys:utilities sys:system s: sys:prefs"
  1725.   In AmigaDOS shell the C: directory will then be searched twice if a
  1726.   command could not be found. Only having C: as last path slows down
  1727.   access, because most commands are in C:.
  1728.   That is why you have to specify C: explicite in ZShell where you want it.
  1729. @ENDNODE
  1730. @NODE Prompt "Prompt"
  1731. PROMPT [string]
  1732. * If no parameter is typed, the current prompt setting will be shown.
  1733. eg.     prompt
  1734. * If a prompt string is specified, the current prompt setting
  1735.   will be changed to that string. The character "%" specifies a
  1736.   special prompt option:
  1737.     %p      Insert whole path of current directory.
  1738.     %s      Insert last part of the path of current directory.
  1739.     %n      Insert CLI number
  1740.     %l      Insert current input line number (for fun!)
  1741.     %c      Insert last command (for even more fun ! :-)
  1742. * You can use control sequences like in the @{" ECHO " link Echo} command.
  1743. eg.     prompt "%p> "     {default prompt. Show current directory + ">"}
  1744.         prompt "%n.%s> "  {show CLI number, then current dir, then ">"}
  1745.         prompt Hello!     {shows "Hello!" at the start of every line}
  1746.         prompt %p^J^*32m> {Just try it!}
  1747. @ENDNODE
  1748. @NODE Quit "Quit"
  1749. QUIT [error_code]
  1750. * QUIT forces a script file to end, and return to the shell.
  1751.   An optional error code can be passed back (ie. 5=WARN 10=ERROR
  1752.   15=BAD 20=FAIL etc).
  1753. eg.     quit 5
  1754.         quit
  1755. @ENDNODE
  1756. @NODE Review "Review"
  1757. REVIEW [bytesize|-C|-Sfilename]
  1758. With the reviewbuffer you can see that again what scrolled out of the
  1759. window or was @{" redirected " Link redirect}. In the reviewbuffer are all outputs stored.
  1760. To see what is in the reviewbuffer just press SHIFT TAB. This activates
  1761. the @{" MORE " Link MORE} text reader.
  1762. * "REVIEW bytesize" (re)creates a reviewbuffer with the given size.
  1763. * "REVIEW 0" removes the reviewbuffer.
  1764. * "REVIEW" without arguments shows the adress and size of the current
  1765.   reviewbuffer.
  1766. * "REVIEW -C" clears the reviewbuffer.
  1767. * "REVIEW -S filename" saves the reviewbuffer to that file.
  1768. eg.     review 10000        {starts normal reviewbuffer}
  1769.         review 50000        {starts big reviewbuffer}
  1770.         review 0            {deletes reviewbuffer}
  1771. NOTE 1: Because it uses a circular buffer with fixed size, this is much
  1772.   faster than having a fixed number of lines. The decrease in scrolling
  1773.   speed is neglible.
  1774. NOTE 2: The Write function of the dos.library will be patched, so
  1775.   there might be problems with other programms that patch this too.
  1776. @ENDNODE
  1777. @NODE Run "Run"
  1778. RUN commandline
  1779. * RUN @{" executes " Link Executing} a commandline in a background task. If you want to
  1780.   execute several commands, you can separate them with \; .
  1781. * By default output goes to the current window. To surpress output or to
  1782.   get it into a file or onto a different window you can use @{" redirection " link Redirect}
  1783.   symbols like ">" (no output), ">filename" or ">w" (to a new window).
  1784.   In case of output redirection the launched background task will be
  1785.   totally independent from the task it is launched from.
  1786. * Input will be redirected to the same window output goes to. If you
  1787.   redirect output to a file, no input is possible (redirected to NIL:).
  1788.   Input redirection symbols does not make sense with the RUN command.  
  1789. * Because most things will be inherited to the new shell, you can use
  1790.   @{" Aliases " link Alias}.
  1791. eg.     run copy fred.doc prt:
  1792.         run >prt: type barney.doc
  1793.         run >w dir df0:\;ask
  1794. @ENDNODE
  1795. @NODE SetClock "SetClock"
  1796. SETCLOCK LOAD|SAVE
  1797. * SETCLOCK only works if you have a battery backed up clock (BBUC).
  1798.   It accesses the adresses $DC0000 and I do not know if it works
  1799.   with very old or very new (A1200) clocks.
  1800. * SETCLOCK LOAD sets the systemtime (you can see the systemtime with
  1801.   @{" DATE " Link DATE} or @{" MEMCLK " Link MEMCLK}) to the time in the BBUC (hopefully this is the
  1802.   right time).
  1803. * SETCLOCK SAVE first resets the BBUC, then stores the systemtime
  1804.   to the BBUC.
  1805.   To set the BBUC to the right time, use @{" DATE " Link DATE} to set the correct
  1806.   date and time, then use SETCLOCK SAVE.
  1807. eg.     setclock load
  1808.         setclock save
  1809. @ENDNODE
  1810. @NODE Skip "Skip"
  1811. SKIP label
  1812. * SKIP searches for the label within the current script file. If it
  1813.   finds it, execution continues from that point onwards. Labels
  1814.   are specified using the @{" LAB " Link LAB} command.
  1815. eg.     lab myloop
  1816.         dir ram:
  1817.         ask "list ram again? "
  1818.         if warn
  1819.            skip myloop
  1820.         endif
  1821. @ENDNODE
  1822. @NODE Stack "Stack"
  1823. STACK [size]
  1824. * Allows you to view or alter the current stack size.
  1825. eg.     stack            {shows the current stack size}
  1826.         stack 30000      {sets current stack = 30000 bytes}
  1827. @ENDNODE
  1828. @NODE UnAlias "UnAlias"
  1829. UNALIAS [alias1] [alias2] [alias3] [alias4] ...
  1830. * UNALIAS removes one or more @{" alias " Link alias} definitions from the alias list.
  1831. * UNALIAS without arguments removes all aliases.
  1832. eg.     alias f1 "cd df0:;dir^M"
  1833.         alias f2 "cd df1:;dir^M"
  1834.         ...
  1835.         alias f10 "ed df1:s/startup-sequence^M"
  1836.         unalias f1 f2 f3 f4 f5 f6 f7 f8 f9
  1837.         ...
  1838.         unalias f10
  1839. @ENDNODE
  1840. @NODE Wait "Wait"
  1841. WAIT timeout
  1842. * WAIT halts processing for the time given. Timeout is in seconds.
  1843.   You can abort this with CTRL-C.
  1844. eg.     echo "I'll wait a minute"
  1845.         wait 60
  1846. @ENDNODE
  1847. @NODE Comments "Comments"
  1848. ; blah blah blah blah
  1849. * etc etc etc
  1850. # hello ma
  1851. * Placing a semi-colon, an asterisk or a hash character as the 1st
  1852.   character in the line of a script file allows you to place comments
  1853.   in it.
  1854. eg.   ; This is a comment line
  1855. * If you want to place a comment at the end of a line, you have to
  1856.   put ;# before it.
  1857. eg.   info;#to see something interesting
  1858. @ENDNODE
  1859. @NODE BUILTIN3 "Builtin Commands for Advanced Users"
  1860. These commands are thought for users with a deeper knowledge of the
  1861. system. Maybe they are also useful for those not knowing of the system
  1862. internals. Just try the examples to find that out.
  1863. @{" Break " Link Break} task_description [signalmask|C|D|E|F]
  1864. @{" Config " Link Ctrl} CTRLKEYS|MOREKEYS|DOT|HIDE|COLOUR|COPYSIZE|FNCSIZE
  1865. @{" DiskChange " Link DiskChange} device
  1866. @{" Flags " Link Flags} [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL|HIDE|PIPE] [ON|OFF]
  1867. @{" GetMsg " Link GetMsg} [portname]
  1868. @{" Kill " Link Kill} device|taskdescription
  1869. @{" Locate " Link Locate} [-C] [bptr|name] [READ|WRITE]
  1870. @{" M " Link M} [start_address] [end_address]
  1871. @{" PutMsg " Link PutMsg} port_description [number1|string1] [number2|string2] ...
  1872. @{" Show " Link Show} D|I|L|M|P|R|S|T|V
  1873. @{" Strings " Link Strings} sourcefile [count]
  1874. @{" TaskPri " Link TaskPri} priority [task_description]
  1875. @ENDNODE
  1876. @NODE Break "Break"
  1877. BREAK task_description [signalmask|C|D|E|F]
  1878. * BREAK sets some signals at a given task
  1879. * task_description can be one of:
  1880.   - task/process name (case dependent !)
  1881.   - task/process adress
  1882.   - CLI-process number (one from 1 to 20)
  1883.   - zero (0) for this task
  1884.   It will be checked if the node-type field contains TASK or PROCESS
  1885. * signalmask is a longword; all bits, which should be signalled,
  1886.   must be 1 . Alternatively you can specify c,d,e or f to set
  1887.   the according signal to CTRL-C,-D,-E or -F. (CTRL-C is bit 12)
  1888. * BREAK without signalmask (and c,d,e,f) given sets all signals the
  1889.   task is waiting for.
  1890. eg.     break RexxMaster    {and it will be gone...}
  1891.         break Exchange c    {Exchange will get itself off too}
  1892. eg. If 2 ZShells are running. The one with the CLI-number 1 (get that
  1893.     out with prompt %n) lists a very large directory. You can break
  1894.     that by using the other ZShell typing:
  1895.         break 1 c
  1896.     Thats the same like you pressed CTRL-C on the ZShell number 1.
  1897. @ENDNODE
  1898. @NODE Ctrl "Config"
  1899. CONFIG CTRLKEYS|MOREKEYS|DOT|HIDE|COLOUR|COPYSIZE|FNCSIZE
  1900. This command is for changing the default settings.
  1901. * CONFIG CTRLKEYS is for command-line-editing-keys-definitions
  1902.   (great word :).  In other words: You can change the meaning of keys
  1903.   pressed with CTRL (Control) key and some other keys (TAB ^I,
  1904.   Backspace ^H, Return ^M, Shift-Return ^J, ESC ^[).
  1905.   "CONFIG CTRLKEYS" shows the current settings,
  1906.   "CONFIG CTRLKEYS WQSEIX[TYHJMLRVFP" sets the default settings.
  1907.   To change something, just change the character corresponding to
  1908.   the key pressed with CTRL. See some lines above for some CTRL-
  1909.   equivalents.
  1910.   eg. TAB is same as CTRL-I . So to use CTRL-K instead of TAB, you use:
  1911.         config ctrlkeys WQSEKX[TYHJMLRVFP
  1912.   Warning: You may get confused if you define one key twice.
  1913.   If you want to get really confused, try:
  1914.         config ctrlkeys WQSEKX[TIYMJHRVFP
  1915. * "CONFIG MOREKEYS" shows the keys that can be pressed inside @{" MORE " link More}.
  1916.   The uppercase keys represent the cursor keys, default is: ABCDSTqsnjwrh
  1917.   It works similar to CONFIG CTRLKEYS. To use RETURN key to exit MORE use:
  1918.         config morekeys ABCDST^Msnjwrh     (see also @{" ECHO " link Echo})
  1919. * "CONFIG DOT character" replaces the dot character (.) where it has a
  1920.   special meaning (@{" ECHO " Link ECHO},@{" SEARCH " Link SEARCH},@{" PUTMSG " Link PUTMSG}, dir back, force disk, abbreviation)
  1921.   eg.   config dot *
  1922. * "CONFIG HIDE pattern" sets the files that are hidden by @{" DIR " link dir}
  1923.   and @{" filename completion " link filenamecompletion}. The pattern must contain at least
  1924.   one @{" wild card " link wild_card}.
  1925.   "CONFIG HIDE" shows the current settings (by default none).
  1926.   eg.   config hide         {display current hiding pattern}
  1927.         config hide ""      {unset the hiding pattern}
  1928.         config hide *.info  {ignore *.info-files}
  1929.         config hide *.info|*.bak {hide files ending in .info and .bak}
  1930.         config hide ~*.tex|*.dvi {show only *.tex and *.dvi-files}
  1931. * "CONFIG COLOUR colours" defines the use of colours. "colours" has to be
  1932.   a 8 digit number. The digit at position x defines to what colour number
  1933.   the default colour x is mapped to. Everything clear ? (I think no!)
  1934.   Thsi is global. Do not forget to make a CLS afterwards.
  1935.   eg.   config colour 01234567   {sets the default colours}
  1936.         config colour 01111111   {switches to one colour mode, very useful
  1937.                                   with OS3.0+ to speed up scrolling}
  1938.         config colour 01233321   {if you want to use only 4 colours}
  1939. * "CONFIG COPYSIZE bytesize" sets the size of the memory block used for
  1940.   COPY, MOVE and SPLIT to "bytesize" bytes. The default setting 50000
  1941.   semms to be a good value for both harddisk and floppydisk. If you
  1942.   only use floppydisk try:
  1943.         config copysize 20000
  1944.   and to display the current setting use:
  1945.         config copysize
  1946. * "CONFIG FNCSIZE bytesize" sets the size of the memory block used to
  1947.   store the last used directory at @{" filename completing " link filenamecompletion} (=FNC).
  1948.   If this memory block (=FNC buffer) is too small, FNC has to read the
  1949.   directory again every time you press TAB and TAB cycling does not work.
  1950.   To save memory you can try:
  1951.         config fncsize 2000      for 2000 bytes FNC buffer or
  1952.         config fncsize 0         for no FNC buffer at all
  1953.   and to display the current setting use:
  1954.         config fncsize
  1955. @ENDNODE
  1956. @NODE DiskChange "DiskChange"
  1957. DISKCHANGE device
  1958. * Needed for devices which do not detect a diskchange.
  1959. eg.     mount rad:;diskchange rad:
  1960.   Makes your rad:-disk appear on the Workbench.
  1961.         diskchange ram:
  1962.   If the ram-disk does not exist yet, the handler will be started
  1963.   (and the ram-disk can appear on Workbench when done before LOADWB)
  1964. @ENDNODE
  1965. @NODE Flags "Flags"
  1966. FLAGS [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL|HIDE|PIPE] [ON|OFF] ...
  1967. * With this you can configure some things. Use FLAGS without arguments
  1968.   to see the current settings. The meaning of the keywords are:
  1969. CHECK: (default off) Activates or deactivates the programmers status line.
  1970.   It is intended to debug external commands.
  1971.   The status line (if activated) will only appear once a disk based
  1972.   or resident program has been executed. The line appears as follows:
  1973.   Result2: 0  time = 00:00:23.66  changes-> chip: 0  fast: 0  total: 0
  1974.   Result2 shows the error code that can be asked for with IoErr.
  1975.   Time shows how long the program took to execute in hours,
  1976.   minutes, seconds, hundredths (This time does NOT include the time
  1977.   it takes to load the program from disk). Changes show if the program
  1978.   has left any memory still allocated. i.e. if 200 bytes of chip
  1979.   memory were left allocated by the program, then you see "chip: -200".
  1980.   The Return code (the program returns in D0) is shown as Fail-Level.
  1981.   It also does some low memory checks on 68000 CPU systems. Be warned if
  1982.   a "Changed ..." appears. Like Mungwall it sets address 0 to $C0DEDBAD.
  1983. MATCH: (default on) By default @{" Filenamecompletion " link Filenamecompletion} shows all files that matches
  1984.   the given pattern. You can switch this off by using "FLAGS MATCH OFF".
  1985. ICON: (default off, OS2.0+) This enables iconifying when pressing ESCAPE
  1986.   or clicking the Close-Gadget. To exit from ZShell use @{" ENDCLI " link Endcli}.
  1987.   You need Workbench running and ZShell must have opened its own window
  1988.   (start from Workbench, start with newcli or used -W when started from
  1989.   CLI).  When iconifying, a icon is created on the Workbench and the
  1990.   window is closed. Double-clicking on this icon or dragging a file into
  1991.   it pops ZShell up again. Use the ToolTypes "ICONNAME", "XPOS" and
  1992.   "YPOS" to determine the name and position of the icon.
  1993.   ToolType "ICONIFY" lets ZShell start in iconifyed mode.
  1994. WILD: (default on, OS2.0+) By enabling this, you force ZShell to use
  1995.   AmigaDOS @{" wildcard-patternmatching " link wild_card} instead of the internal matcher.
  1996.   Switch this off if you like the internal matcher better.
  1997. ERRORS: (default off) Most external commands show their errormessages
  1998.   themselves, so you often see double error messages. Using ERRORS you can
  1999.   switch off this behaviour, but you risk to miss some errormessages !
  2000.   If you see a large errornumber, this command assumed that there will be
  2001.   no error-output and does not set the correct errorcode --- this is
  2002.   badly programmed !
  2003. DEBUG: (default off) This is for testing/debugging script-files. Switching
  2004.   DEBUG to ON, the commands from the script appear on the window as they
  2005.   are processed (you need to execute the script for that, ofcourse),
  2006.   and redirection will be ignored (so you will see even output to >NIL: ).
  2007. CUT: (default on) For @{" MORE " link More}. If ON, lines longer than the window will be
  2008.   cutted at the end. If OFF, too long lines will wrapped to next line.
  2009. ALL: (default on) Enables the substitute ALL for the @{" option -R " link option}.
  2010.   Note that -R must be the first argument (or second after -Q) and ALL
  2011.   must be the last argument.
  2012.   (Only in this release you can place ALL anywhere you like)
  2013. HIDE: (default on) When on the cursor will be hidden for outputting. This 
  2014.   improves scrolling speed. Switching off is only thought for debugging.
  2015. PIPE: (default on) If ON, real pipes will be used, pseudo pipes otherwise.
  2016.   See @{" Anonymous Pipes " link Pipes} for more.
  2017. eg.     flags icon on all off
  2018.         flags errors off all off check on
  2019.         flags e. off a. off ch. on          {same as above}
  2020. @ENDNODE
  2021. @NODE GetMsg "GetMsg"
  2022. GETMSG [portname]
  2023. * GETMSG waits for a message arriving at the process-internal
  2024.   messageport (pr_MsgPort). The message will be shown, strings
  2025.   will be tried to detected (this could cause lots of enforcer hits).
  2026.   Then you will be asked if to reply the message. "y" replies it
  2027.   and should be used normally. "e" replies and gets back to waiting
  2028.   mode again. Abort waiting is possible with CTRL-C.
  2029. * "GETMSG portname" gives the process-internal port the given name.
  2030.   Then it behaves as described above.
  2031. * See @{" PUTMSG " Link PUTMSG} for examples.
  2032. @ENDNODE
  2033. @NODE Kill "Kill"
  2034. KILL device|taskdescription
  2035. * KILL lets the handler of a device (name ending in ":") end itself.
  2036.   It seems not to work with most handlers. Works with CrossDOS
  2037. * It can remove tasks too, but this will likely crash, because it is
  2038.   NOT SYSTEMCONFORM ! See @{" BREAK " Link Break} for taskdescription.
  2039. eg.     kill PC0:
  2040.         kill Exchange
  2041. @ENDNODE
  2042. @NODE Locate "Locate"
  2043. LOCATE  [-C] [bptr|name] [READ|WRITE]
  2044. * "LOCATE lockadress" (lockadress is a BPTR) shows information about
  2045.   that lock structure. fl_Access must be -1 (write) or -2 (read).
  2046. * "LOCATE filename_or_dirname READ" gets an ACCESS_READ lock structure on
  2047.   that file/dir.
  2048. * "LOCATE filename_or_dirname WRITE" gets an ACCESS_WRITE lock structure
  2049.   (exclusive lock) on that file/dir. This cannot be shown correctly,
  2050.   otherwise it would not be exclusive.
  2051. * "LOCATE -C lockadress" unlocks (removes) the lock structure (BPTR !).
  2052. * "LOCATE" shows all locks that are in system. Since OS2.0 this cannot
  2053.   show correctly all locks on RAM: because it is some kind of hack.
  2054. eg.     locate &21f45c        {shows lock on adress $21f45c}
  2055.         locate $9f5b7         {shows lock with BPTR $9f5b7}
  2056.         locate -c $9f5b7      {removes this lock}
  2057.         locate ram:rdit read  {tries to read-lock ram:rdit}
  2058.         locate c:mount write  {tries to write-lock c:mount}
  2059.         locate                (shows all locks in system}
  2060. @ENDNODE
  2061. @NODE M "M"
  2062. M [start_address] [end_address]
  2063. * M is a memory contents dumping command.
  2064. * Typing M with a start and end address will display the hex and
  2065.   ASCII contents of those bytes in the memory locations specified.
  2066. * Typing M with only a start address will display 160 bytes
  2067.   starting at the location specified.
  2068. * Typing M with no parameters will display 160 bytes starting
  2069.   from the current memory location.
  2070. * The current memory location is always one location higher than
  2071.   the last location shown by a prior M command.
  2072. eg.   m $70000 $77fff
  2073.       m $fc0000
  2074.       m
  2075. @ENDNODE
  2076. @NODE PutMsg "PutMsg"
  2077. PUTMSG port_description [number1|string1] [number2|string2] ...
  2078. * PUTMSG is useful for testing programms which wait for a message,
  2079.   or to reactivate a task that waits for a message which will never
  2080.   arrive. PUTMSG sends a message to the given messageport.
  2081. * port_description can be given in 5 (!) ways:
  2082.   - Name of the messageport
  2083.   - Adress of the messageport
  2084.   - 3 ways of a task_description, see @{" BREAK " Link BREAK}. This MUST be a Process
  2085.     because the process-internal messageport will be used.
  2086. * number|string is a longword number or a string. If it is a number,
  2087.   it will just be added to the message. If it is a string, a
  2088.   adress pointing to this string will be added to the message.
  2089.   If number1|string1 was a point (.), the message will be initialized
  2090.   as an DOS-Packet.
  2091. * After sending the message PUTMSG will wait for the reply and show
  2092.   that reply like @{" GETMSG " Link GETMSG}. Abort waiting with CTRL-C.
  2093. WARNING: Your machine might CRASH if you send a message to a
  2094.   (Process-internal) port that is not waiting for this message.
  2095. NOTE: PUTMSG without arguments makes a DisplayBeep (even without a
  2096.   window) and outputs the internal register value of A5.
  2097. eg.     putmsg testtask $21fd68 12
  2098.         putmsg testport "Hello World!"
  2099.   If you have 2 ZShells, execute in the one with CLI-number 1
  2100.   "getmsg". Activate the other shell and type
  2101.         putmsg 1 "like some chatting ?"
  2102.   The ZShell no. 1 should display that and prompt "reply ?". Answer
  2103.   "y" and the message goes back again.
  2104.   Now try "getmsg wurgutz" at one ZShell and "putmsg wurgutz $abcd"
  2105.   on the other. Do not forget to reply.
  2106. * You can use PUTMSG to use the AREXX interface of a programm. This
  2107.   works with some programms even with OS1.3- and no AREXX-Package.
  2108. eg.     putmsg showdvi 0 0 0 0 0 "tofront" {gets ShowDVI to front}
  2109.   Instead of the first 0 you sometimes must write the adress of
  2110.   this task. If available replace the second 0 with a pointer to
  2111.   the rexxsyslib.library. The third 0 is called rm_Action. I do not
  2112.   know what it is for. The fourth and fifth are results, only
  2113.   interesting in the reply.
  2114. eg.     putmsg showdvi 0 0 0 0 0 "loadnew tex.dvi"
  2115. * Specify a point as first number if you want to send a DOS-Packet.
  2116. eg.     putmsg DF0 . 0 1023 0 0 -1     {same as LOCK DF0: ON}
  2117.   If you get $FFFFFFFF as 4th longword, it was successful.
  2118.  (with OS1.3- you need to use FileSystem instead of DF0)
  2119. @ENDNODE
  2120. @NODE Show "Show"
  2121. SHOW D|I|L|M|P|R|S|T|V
  2122. * Shows some information about important exec-lists:
  2123.   - Devices
  2124.   - Interrupts
  2125.   - Libraries
  2126.   - Memory
  2127.   - Ports (MessagePorts)
  2128.   - Resources
  2129.   - Semaphores
  2130.   - Tasks (and Processes)
  2131.   - Vectors for reset-resident programs
  2132.   Use the first character of one of them as argument.
  2133. * The output means:
  2134.   - Adress: hexadecimal start adress of the structure
  2135.   - Pri   : Priority, often unused
  2136.   - Ver   : Number of version  (only with D,L,R)
  2137.   - Rev   : Number of revision (only with D,L,R)
  2138.   - Name  : Name
  2139.   - State : Task state (only with T)
  2140.   - SignWait : Signals, a waiting task waits for (only with T)
  2141.   - PT    : Pr means Process, Ta means Task, Tm means Task with
  2142.             Messageport like Process     (only with T)
  2143. * If displaying the tasklist, the CLI-number (-> CLI ?:) and the
  2144.   loaded command will be shown at processes with cli-structure.
  2145.   ">" stands for output-redirected, "<" for input-redirected.
  2146.   "Bg-CLI" means background CLI.
  2147. * SHOW V displays some important execbase pointers, which give a
  2148.   good indication of whether a virus is present in your system.
  2149.   WarmCapture, CoolCapture, ColdCapture, KickTagPtr, KickMemPtr,
  2150.   and KickCheckSum are displayed. If any of these are are NOT
  2151.   zero, then either a virus, RAD, or virus protector or some
  2152.   other program that takes control of your machine when you
  2153.   reset, is present.
  2154. eg.     show d          {have a look at the device-list}
  2155.         show Devices    {same as above}
  2156.         show t          {This is REAL MULTITASKING ! :) }
  2157. @ENDNODE
  2158. @NODE Strings "Strings"
  2159. STRINGS sourcefile [count]
  2160. * STRINGS displays all valid ASCII strings in a file which have a
  2161.   length greater than or equal to the count. If no count is given,
  2162.   a default of 10 characters is used.
  2163. * This command is very useful for finding out which libraries a
  2164.   program uses.
  2165. eg.     strings c:zshell 20
  2166.         strings c:mount
  2167. @ENDNODE
  2168. @NODE TaskPri "TaskPri"
  2169. TASKPRI priority [task_description]
  2170. * TASKPRI sets the priority of a task, it can be displayed using
  2171.   "SHOW T". The priority must be between -127 and 128 and should
  2172.   be within -50 and 20 to avoid system-hangups. Standard is 0 .
  2173. * task_description is same as described at @{" BREAK " Link BREAK}.
  2174. * With one argument TASKPRI sets the priority of this task.
  2175. * If task_description is given, TASKPRI sets the priority of the
  2176.   given task.
  2177. NOTE: I did not like to call this command CHANGETASKPRI, because
  2178.       this name is really too long.
  2179. eg.     taskpri 2       {This task will be preferred}
  2180.         taskpri -1 3    {affects CLI no. 3}
  2181.         taskpri 4 Workbench
  2182. @ENDNODE
  2183. @NODE Changes "Changes"
  2184. UP TO V1.3:See the source code of the ZShell V1.3 release
  2185.            (for example on FISH disk 537).
  2186.            @{" Author: Paul Hayter " Link Authors}
  2187.            Source: 103 KByte, Executable: 13 KByte, Doc: 32 KByte.
  2188. V2.0:There were so many changes, I think there is no sense in listing
  2189.      them all here, because it may be longer than this document. So just
  2190.      read this document or the source code.
  2191.      All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 14.10.94.
  2192.      Source: 180 KByte, Executable: 25 KByte, Doc: 72 KByte.
  2193. V2.1  11.12.94:
  2194.     * IMPORTANT FOR THOSE WHO USED ZSHELL V2.0: Do not start ZShell V2.1 *
  2195.     * if ZShell V2.0 is resident. This will crash your machine !         *
  2196.     * Do not use ZSH V2.0 with ZShell V2.1 and vice versa.               *
  2197.   - Added a @{" review " Link review} buffer to see that again what scrolled out of the
  2198.     window. A scrollbar will probably added in future.
  2199.   - Changed default @{" CTRL " Link CTRL}-keys; added 2 new CTRL-keys (see @{" HISTORY " Link HISTORY}).
  2200.   - Changed usage of @{" MORE " Link MORE} (you can still use the cursor keys).
  2201.   - @{" DIR " Link DIR} now hides all these files that @{" Filenamecompletion " Link Filenamecompletion} ignores.
  2202.   - Some bugs found with mungwall and scratch are fixed.
  2203. V2.2  03.01.95:
  2204.   - Fixed a REALLY NASTY BUG that trashed taskswitching when closing ZShell.
  2205.   - @{" AmigaGuide-Documentation " Link Distribution} added !
  2206.   - @{" RUN-Command " link Run} added !
  2207.   - @{" NEWCLI " link NewCLI} has a new argument template.
  2208.   - @{" CTRL-J = Shift-RETURN " Link History} puts the command line in History
  2209.     buffer without executing.
  2210.   - @{" PROMPT " Link Prompt} now knows the args %s and %c :-) . Default Prompt
  2211.     changed to "%s> ".
  2212.   - Better building of the CLI-Interface when @{" starting " Link Starting} from WB.
  2213.   - Now the @{" Pseudo-Assign " link Assign} PROGDIR: is provided (OS2.0+ only).
  2214.   - @{" LIST -Q -R " Link List} also works; @{" DIR " Link Dir} can also list recursive.
  2215.   - @{" ECHO Hi There ! " Link Echo} will now do the same as ECHO "Hi There !" .
  2216.   - Improved options when @{" starting " link Starting} from CLI.
  2217. V2.3  10.02.95:
  2218.     This time there are some real new features. Because now I have my
  2219.     OS3.1 Autodocs and Includes, I have added several features that can
  2220.     only be used with OS2.0+. There will be done version-checkings before
  2221.     using OS2.0+ specific stuff, so no need to be afraid of crashes.
  2222.   - New Commands: @{" MAKEICON " link MakeIcon}, @{" MAKELINK " link MakeLink}, @{" FLAGS " link Flags} and @{" MOVE " link Move}.
  2223.   - @{" DELETE " link Delete}, @{" COPY " link Copy}, @{" MOVE " link Move}, @{" PROTECT " link Protect} and @{" JOIN " link Join} are fully rewritten !
  2224.     They now all use the directory-lister (for LIST and DIR)
  2225.     and therefore all support wildcards and recursive processing !
  2226.   - @{" PATH " link Path}-Command is now AmigaDOS compatible.
  2227.     Paths from Workbench are duplicated on starting from Workbench.
  2228.   - Support of Hardlinks and Softlinks by @{" MAKELINK " Link MakeLink}, @{" LIST " Link List} and @{" DIR " Link Dir}.
  2229.   - @{" ASSIGN " link Assign} supports ADD, REMOVE, PATH and DEFER.
  2230.   - @{" Redirection " link Redirection} improved: Can also be redirected to @{" MORE " link More}.
  2231.   - Can be iconified to an ApplicationIcon (see @{" FLAGS " link Flags}).
  2232.   - Erroroutput is done by DOS.
  2233.   - @{" DELETE DEVICE " Link Delete} formats a disk quick,
  2234.   - @{" DELETE FORCE " Link Delete} ignores delete-protection-bits.
  2235.   - @{" Filenamecompletion " Link Filenamecompletion} can show all matching files.
  2236.   - @{" MORE " Link More} supports "more keys" and checks windowsize.
  2237.   - @{" ALIAS " link Alias} can work without surrounding quotes; now you
  2238.     have to remove \ before " ,sorry for any incompatibilities.
  2239.   - CHECK is moved to @{" FLAGS " link Flags}, VEC is moved to @{" SHOW V " link Show}.
  2240.   - RESET removed: It was a hack ! RECOPY removed: Has anybody needed it ?
  2241.   - First line in @{" Command History " link History} is the last changed line.
  2242.   - You can use ^* instead of ^$9b with @{" ECHO " Link Echo} and @{" PROMPT " Link Prompt}.
  2243.   - Really faaaast searching in @{" MORE " Link More}, @{" SEARCH " Link Search} and @{" HELP " Link Help1}.
  2244.   - Bugfix and new options when @{" starting " link Starting} from CLI.
  2245.   - New Tooltypes for @{" starting " link Starting} from Workbench.
  2246.   - @{" HELP " link Help} only searches the current dir and S: for the manual.
  2247.   Now there is not much of the original V1.3 release left, because most
  2248.   of the old parts are totally rewritten and size has more than doubled !
  2249. V2.4  28.02.95:
  2250.     Important bugfixes made !
  2251.   - Application-Window allows dropping Workbench-Icons into ZShell-Window; OS2.0+
  2252.   - @{" Check-Flag " Link Flags} checks writes to low memory
  2253.   - @{" SHOW task " Link Show} shows redirection/background
  2254.   - @{" DIE task " Link Die} removes task
  2255.   - @{" COPY " Link Copy} uses dots as progress indicator
  2256.   - If an error during starting occurs, there will be an @{" errormessage " Link ErrorStart}
  2257.   - Sets Wildstar-Flag in System, so you can use "*" instead of "#?"
  2258.     with all commands; OS2.0+
  2259.   - @{" Hide-Flag " Link Flags} added.
  2260.   - Lots of bugfixes
  2261. V2.5  11.04.95:
  2262.   - Localized most messages using the catalog of AmigaDOS, so no
  2263.     translating required (and I do not have to look for translators :-) ; OS2.1+
  2264.   - Pressing @{" CTRL-F " Link History} a filerequester pops up; OS2.0+
  2265.   - Possible to open own Public Screen on @{" starting " Link Starting}; OS2.0+
  2266.   - @{" EXECUTE " Link Execute} uses AmigaDOS Shell for executing scripts
  2267.     and therefore no longer causes compatibility problems. To execute
  2268.     ZShell-scripts: set S-protection flag and use it like a @{" command " Link Executing}.
  2269.   - Correct inserting of strings when pressing function-keys or dropping
  2270.     an Icon on Window/AppIcon
  2271.   - Removed C: as default @{" path " Link Path}. This was a stupid idea
  2272.     I got from the AmigaDOS Shell. It is better to have C: as first path.
  2273.   - You can use textfiles/Amigaguides with E-flag set like a @{" command " Link Executing}.
  2274.     It will then be displayed using @{" amigaguide.library " Link Guide.lib}. With OS3.0+
  2275.     this even works on everything supported by your datatypes (like pics)
  2276.   - Problems with foreign characters hopefully fixed
  2277.   - NEWCLI and RUN now copy stacksize, appiconname and windowname
  2278.   - Bugfixes: ASSIGN, DIR/LIST, DELETE DEVICE
  2279.   - ToolType ICONIFY fixed. It has NEVER worked !
  2280.   - @{" Starting ZShell " Link Starting} chapter improved
  2281.   Source: 217 KByte, Executable: 31 KByte, Guide: 104 KByte.
  2282. V2.6  02.06.95 (was not on Aminet):
  2283.   - Commands changed:
  2284.     @{" HTYPE " link HType} filename [offset]
  2285.     @{" LOCATE " link Locate} [-C] [bptr|name] [READ|WRITE]
  2286.     @{" CONFIG " link ctrl} CTRLKEYS|MOREKEYS|DOT|HIDE|COLOUR|COPYSIZE|FNCSIZE
  2287.   - New Command: @{" SPLIT " link Split} source dest length [offset]
  2288.   - @{" Filename completion " link filenamecompletion} now reads directory to
  2289.     memory to decrease access time. It is now fine to use on floppy disks,
  2290.     too. By pressing TAB multiple times you can cycle through the matches.
  2291.   - No more problems to delete the last used directory, because "dir back"
  2292.     (a single point as command) uses a string instead of a lock.
  2293.   - Showing files using Amigaguide does not check for the E-protection-
  2294.     flag anymore
  2295.   - Use ESC or Q key to quit @{" MORE " link More}
  2296.   - String comparison in Filename completion and DIR/LIST is now localized
  2297.   - OS2.0+: AmigaOS wildcards are used (they are localized). They are a
  2298.     bit different. To get back the internal ones use: FLAGS WILD OFF
  2299.   - Default prompt is now "%p> " again (something has to be changed :-)
  2300.   - New Tooltype: HELPMAN , new CLI option: -h
  2301.   - @{" Options " link Option} can be overridden by surrounding them with quotes
  2302.   - Bug fixes: DEL key, FLAG CHECK -> locks, scripts ending in LF
  2303. V2.7 14.08.95:
  2304.   - Support of @{" anonymous pipes " link Pipes}. You can choose between
  2305.     real and pseudo pipes using @{" FLAGS PIPE " link Flags}.
  2306.     Multiple pipes and aliases are also supported.
  2307.     All internal commands can be left to "|".
  2308.   - Internal commands that can take data from standard input (stdin)
  2309.     (can be right to "|" only when using pseudo pipes):
  2310.     MORE, TYPE, HTYPE, STRINGS, SEARCH, EXECUTE ZSHELL
  2311.   - @{" EXECUTE ZSHELL scriptname " link Execute} executes a ZShell script
  2312.   - @{" RUN command " link Run} outputs to current window,
  2313.     @{" RUN >filename command " link Run} outputs to filename
  2314.   - @{" Redirection >W " link Redirect} opens a window
  2315.   - @{" MORE " link More}: Key N searches next occurence of searchstring
  2316.   - @{" PROTECT " link Protect}: You can use = similar to + or -, reduced disk access
  2317.   - @{" FLAGS CHECK ON " link Flags} does not count locks anymore, use @{" LOCATE " link Locate} instead
  2318.   - @{" MAKELINK " link Makelink}: HARD is default, SOFT must be specified explicitely
  2319.   - @{" DELETE dirname ALL " link Delete} deletes contents of the directory, then tries to
  2320.     remove the directory
  2321.   - @{" CTRL-P " link History} flushes FNC-buffer (useful on CrossDOS disks)
  2322.   - Default @{" prompt " link Prompt} is now "%s> " again
  2323.   - @{" EVAL " link Eval} uses now different symbols
  2324.  Bugfixes (Thanks to Christian and Timothy who reported most of them):
  2325.   - Review-buffer had to be less than 64K
  2326.   - Stderr provided (GNU-C likes it :-)
  2327.   - Line ending in "\" crashed
  2328.   - NEWCLI -Wfilename crashed
  2329.   - Versionstring fixed
  2330.   - If arguments are specified, command will not be interpreted as
  2331.     directory or textfile
  2332.   - COPY: If a disk full occurs, the incomplete file will be removed
  2333.   - COPY,MOVE,JOIN,SPLIT: Current dir bug fixed
  2334.   - Spaces before aliases did not work
  2335.   - Double redirections catched
  2336.   - ALIAS stack overflow catched
  2337.   - Bug with directorynames ending in "/" fixed
  2338.   - Source rearranged to go around 32K limit
  2339.   - Probably added some brand new nasty bugs and left some ugly old bugs :)
  2340.   - And what is best: Much improved versionnumber ! @{" ;-) " Quit}
  2341.  All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}.
  2342. @ENDNODE
  2343. @NODE Problems "Known Problems"
  2344. Here are listed known bugs and odd behaviours.
  2345. * CrossDOS
  2346.   With MessyDOS being one big bug, the MessyDOS filesystem is part of
  2347.   a bug. :-) This means not all things AmigaDOS supports, is supported
  2348.   by CrossDOS, too. Especially @{" Protection bits " link Protect} are different,
  2349.   and @{" Filenotes " link Filenote} are not supported. Not to mention the 8+3 filename limit.
  2350.   A further problem is the missing @{" date-of-last-change " link Setdate} of the disk.
  2351.   Without this @{" FNC " Link Filenamecompletion} cannot determine whether something on the disk has
  2352.   been changed and even not whether the whole disk has been changed.
  2353.   So you have to update FNC manually by pressing @{" CTRL-P " link History} after a change.
  2354. * @{" MORE " link More}
  2355.   If you are on the last page, scroll up some lines and scroll down some
  2356.   lines again, you will notice a weird behaviour. This is hard to fix.
  2357. * @{" ALIAS " link Alias}
  2358.   alias list dir ; alias dir list
  2359.   does not exchange "dir" and "list", because nested aliases are allowed.
  2360.   This is not a bug, this is a feature !
  2361. * @{" Review-Buffer " link Review}
  2362.   Some commands, especially OS2.0+ only, use other ways to output text
  2363.   than dos.library's Write(). As a result this output will not appear
  2364.   in the review-buffer. Probably this will be fixed in future.
  2365. * @{" DELETE " link Delete}
  2366.   If you want to delete a link, you have to describe it with wild cards,
  2367.   otherwise the original file will be deleted, because the system
  2368.   resolves links automatically. I do not have an idea how to work
  2369.   around it.
  2370. * @{" MOVE " link Move}
  2371.   You have to make sure that the destination directory is not moved to
  2372.   itself like in "move * temp/". Maybe there are more strange behaviours
  2373.   in the MORE command, @{" I " link Authors 9} am waiting for bug-reports. :-)
  2374. * DIR, LIST, COPY, DELETE etc.
  2375.   Directories nested very much, about more than 50 levels, and using
  2376.   recursive option to scan them, cause ZShell to crash. Still looking
  2377.   for the bug.
  2378. * If you type a command and press Return while an other command (like DIR)
  2379.   outputs on the window, it will appear after the next prompt, but it
  2380.   will just be put in the history buffer without executing it. Sorry,
  2381.   there is no way to fix this, because the Return above is treated as
  2382.   Shift-Return by the system. Two solutions:
  2383.   1.) Press cursor up (last line in history) and then press Return
  2384.   2.) Use "config ctrlkeys WQSEIX[TYHKJLRVFP". With this Shift-Return
  2385.       will be the same as Return and CTRL-K will be what Shift-Return
  2386.       was before.
  2387. * @{" Filename completion " link filenamecompletion}
  2388.   If you have a filename with a space in it, you have to make sure you
  2389.   type the quotes around it by yourself, this can hardly be done
  2390.   automatically.
  2391. * @{" PATH " link Path}
  2392.   If you have multiple assigns (ASSIGN ADD) to your C: (or another)
  2393.   directory, PATH will accept only the first one. Add the other
  2394.   directories to the path by using "path directoryname".
  2395. @ENDNODE
  2396. @NODE Future "Possibilities for Future Improvements"
  2397. Planned for next version:
  2398. New documentation written by Timothy.
  2399. (Hi Timothy, mailing you does not work, please try to mail me.)
  2400. Other ideas/suggestions:
  2401. * Quick directory changes by using a database
  2402. * Full XPK-support
  2403. * Scrollbar for review-buffer (this will be difficult)
  2404. * Add more commands to the directory-lister (like makeicon,search)
  2405. * Make KILL a real killer (windows, screens)
  2406. * MAKEDIR can create nested dirs: If RAM: is empty "makedir ram:a/b/c"
  2407.   would create directory c in b in a in RAM: .
  2408. * HEX option for MORE.
  2409. * Applly configurable menues to the window
  2410. * More options for the LIST command (especially LFORMAT).
  2411. * Remove PUTMSG and GETMSG
  2412. * COMPARE or DIFF command
  2413. Less probable:
  2414. * COPY asks to remove incomplete destination files.
  2415. * RENAME command with wildcard support: "rename *.asm *.s" would rename
  2416.   all files ending in .asm to the same name ending in .s !
  2417. * Make it a commodity with hotkey.
  2418. * Improve internal script file execution, like passing arguments,
  2419.   allow subroutine scripts and commands like FOR.
  2420. * Include MOUNT/INSTALL command.
  2421. * Faster scrolling (jump scroll/1 bitplane scroll)
  2422. * Patch for 68000-Processors to be as fast as 68060/50MHz-Processors ;-)
  2423. * Write a stripped-down version for MessyDOS; after starting this would say:
  2424.   This is ZShell V2.x *** Fatal error: no multitasking system !  ;-)
  2425. If you want to see these or other improvements made, please write to @{" me " Link Authors 9}.
  2426. If you do not, please write to me, too :-)
  2427. Note that there is a (about) 32K limit of the executable, because I only
  2428. use relative addressing (like in small code model). So suggestions what
  2429. to remove are also welcome.
  2430. I thought about making a separate version for OS2.0+:
  2431. Command-line-editing and review stuff could be done best (most powerful)
  2432. within a console-handler; there are already several available (as I know,
  2433. the only one that is Freeware is KingCon), so I do not want to write 
  2434. another one. The disadvantages of these I have seen is that you need to
  2435. change alot between mouse and keyboard and they are somehow slow on my
  2436. system (and do not work on OS1.3- systems) and memory-hungry.
  2437. Except for Command-line-editing and review, the inbuild commands are a
  2438. main advantage of ZShell. These commands could be moved to one executable
  2439. file; if this file was executed, it would create all inbuild commands
  2440. as resident commands that could be used by the normal Shell.
  2441. (This would be somehow like the MessyDOS COMMAND.COM file.)
  2442. So if you used this file and a separate console-handler, you could work
  2443. comfortably with the normal Shell.
  2444. If there are enough people asking for that, I will think about writing
  2445. such a "multi-command-file", but I will not write another console-handler.
  2446. And, last but not least, I have to invest lots of time in my studies and
  2447. I do not want to hang around all remaining time at the keyboard !
  2448. @ENDNODE
  2449. @NODE Distribution "Distribution"
  2450. Following files belong to this document:
  2451.  1) ZShell           The main executable
  2452.  2) ZSH              The small starter
  2453.  3) ZShell.doc       The documentation (and online help manual)
  2454.  4) ZShell.guide     The AmigaGuide documentation
  2455.  5) ReadMe           Short description
  2456.  6) ZStart           An example startup script (can be put in S: )
  2457.  7) ZShell.s         Source code of the main executable
  2458.  8) ZSH.s            Source code of the small starter
  2459.  9) Csh-Aliases      Some aliases to make it a bit similar to UNICS csh
  2460.  and some icons.
  2461. @ENDNODE
  2462. @NODE Copyright "Copyright"
  2463. COPYRIGHT
  2464. (taken directly from the V1.3 distribution from Paul Hayter)
  2465.  ZSHELL IS FREELY DISTRIBUTABLE. YOU CAN DISTRIBUTE THIS AS LONG AS
  2466.  THIS DOC FILE REMAINS WITH THE EXECUTABLE, AND THAT NO CHARGE IS MADE FOR
  2467.  THEM (APART FROM A NOMINAL COPYING CHARGE). IF YOU FEEL LIKE SENDING
  2468.  ME SOMETHING FOR THIS PROGRAM, SEND ME A POSTCARD!, A P.D. DISK, A
  2469.  PROGRAM YOU'VE BEEN WORKING ON ,BUT DON'T SEND ME ANY MONEY (WELL, IF
  2470.  YOU REALLY, REALLY WANT TO, I GUESS I COULD PUT UP WITH IT).
  2471. Note from Martin:
  2472.  This is an update to Version 1.3 on the Fish Library Disk 537 from
  2473.  Paul Hayter. I (Martin) tried to ask him for permission to release
  2474.  this, but he has not answered. Because the copyright notice is left
  2475.  unchanged and the original executable with documentation is included,
  2476.  I do not think that I am doing something nasty.
  2477.  (In the original distribution there was the source code included
  2478.  and there is nothing stated to distribute it only unmodified.)
  2479.  To make things easier I accept the same copyright notice for the parts
  2480.  I have written. They are marked in the source with V2.x (well, mostly).
  2481.  I estimate that about 70% of the source, executable and the documentation
  2482.  is from me.
  2483.  @{" I " Link Authors 9} would like to get your comment on ZShell to see if anybody is
  2484.  using it and what can be improved.
  2485. @ENDNODE
  2486. @NODE Disclaimer "Disclaimer"
  2487. DISCLAIMER
  2488. USE THE FILES OF THIS PACKAGE ON YOUR OWN RISK !
  2489. The authors are in no way responsible for what you are doing with it
  2490. or what it does to you or your soft- and hardware.
  2491. Amiga, AmigaDOS, AmigaGuide, Workbench and Kickstart were registered
  2492. trademarks of Commodore-Amiga Inc and now probably are of ESCOM AG.
  2493. MessyDOS and UNICS are not really trademarks (as I know)  :-)
  2494. @ENDNODE
  2495. @NODE Credits "Credits"
  2496. CREDITS FROM PAUL
  2497.  Many thanks to Wayne for his invaluable help in doing the history
  2498.  and command line editing parts of ZShell. Also, thanks to
  2499.  Tim Strachan who asked for the history stuff.
  2500.  ZShell was entirely written using Wayned by Wayne Hayter (various
  2501.  versions). And was assembled with A68K V2.61 by Charlie Gibbs. And
  2502.  linked with Blink V6.7 by the Software Distillery.
  2503. CREDITS FROM MARTIN
  2504.  Many thanks go to:
  2505.  * The administrators of Aminet for their great work
  2506.  * Samu Nuojua for his great Freeware assembler SNMA
  2507.    ZShell V2.7 was assembled with V1.99: SNMA ZShell.S EXEOBJ OPTLEVEL 5
  2508.  * Ralph Babel for the System0 code (see source)
  2509.  * Martin Mares for some fine assembler programs
  2510.  * Frank for using ZShell (I persuaded him :-)
  2511.  (V2.0)
  2512.  * Laura Mahoney for trying to send me a postcard and lots of mail
  2513.  * Igor Srdanovic
  2514.  * Willem MC Hogeweg
  2515.  (V2.1)
  2516.  * Nico Max
  2517.  * Max Stouugard
  2518.  * Alexandros Loghis for good ideas
  2519.  (V2.2)
  2520.  * Christian Steigies for sending me postcards, for really long mails,
  2521.    for lots of shocking bugreports :) and for betatesting
  2522.  * Oliver Hofmann
  2523.  * Holger Jakob
  2524.  * Hans Kruse
  2525.  (V2.3)
  2526.  * Nobody !
  2527.  (V2.4)
  2528.  * Aristotelis Grammatikakis
  2529.  * Jonathan Marsh
  2530.  * Dominique Niethammer
  2531.  * Fredrik Solenberg
  2532.  * Teonanacatl
  2533.  * Chris
  2534.  * Fred Brooker for the music disk
  2535.  * David Klinect
  2536.  * Brian Myers
  2537.  (V2.5)
  2538.  * Timothy Cochran for rewriting the documentation (not finished)
  2539.  * Mark Dowe
  2540.  * Marek Petkov
  2541.  * Matthew Estela
  2542.  * Christian Hessenbruch
  2543. @ENDNODE
  2544. @NODE Authors "Authors"
  2545. Please send any correspondence and/or bug reports referring V1.3
  2546. to me at the address below:-
  2547.       Paul Hayter
  2548.       PO Box 331
  2549.       Ballina
  2550.       2478
  2551.       AUSTRALIA
  2552. Please send correspondence, bug reports, comments, suggestions
  2553. for future improvements etc. referring V2.x to this adress:
  2554.       Martin Gierich
  2555.       Narzissenweg 7
  2556.       76297 Stutensee
  2557.       GERMANY
  2558.   (I would really like to get a picture postcard from you, even if
  2559.   you just wrote a "Hello" on it !)
  2560.   If you have EMAIL access, it would be nice if you send me one
  2561.   at one of these adresses:
  2562.            uj3w@rz.uni-karlsruhe.de           (Internet)
  2563.    or to   uj3w@ibm3090.rz.uni-karlsruhe.de   (Internet)
  2564.    or to   UJ3W@DKAUNI2.BITNET                (Bitnet)
  2565.   I will try to reply EVERY EMail I get !
  2566.   Please tell me your system-configuration, at least your Kickstart-
  2567.   Version, so that I see which kind of systems should be most supported
  2568.   in future versions. My system is an A500 with 200 MB Harddisk, 3 MB RAM,
  2569.   Kickstart 2.04 and Workbench 2.1 and a VGA-Monitor with Fickerfixer.
  2570.   Note that large parts of ZShell were developped under Kickstart 1.3 !
  2571.   (Ah yes, and I have such a Vortex ATONCE AT-Emulator; the fastest thing
  2572.   it can do is to hang itself up, and they do not make any updates !)
  2573.       /\/\            o o
  2574.      / __ \ artin      <
  2575.     (_/  \_)         `---'
  2576. @ENDNODE
  2577.